From: Laurent Pinchart Date: Wed, 13 Mar 2013 17:18:30 +0000 (+0100) Subject: sh-pfc: Return an error if a pin doesn't support the requested direction X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~46^2^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc9b4550a74cad7daed0be192030983dad44755;p=pandora-kernel.git sh-pfc: Return an error if a pin doesn't support the requested direction When setting a pin direction verify that the requested direction is supported, and return an error if it isn't. This requires pin configuration information to be supplied by SoC data. The check is a no-op if the information is not supplied. Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij --- Reading git-diff-tree failed