commit | 6dc9b4550a74cad7daed0be192030983dad44755 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Wed Mar 13 18:18:30 2013 +0100 |
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Fri Mar 15 13:33:54 2013 +0100 |
tree | e6d3168831a6832aae9bd1e267c228321c7a30f9 | |
parent | 9a643c9a11259955ec6961f9a2509604c6df1cd9 [diff] |
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 <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>