commit | ad8bb720c23a80233e45ed31d67458f5e5b7ab31 | [log] [tgz] |
---|---|---|
author | Dong Aisheng <dong.aisheng@linaro.org> | Tue Apr 10 12:41:34 2012 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 18 13:53:11 2012 +0200 |
tree | 6b1da7d3dc99bacd03167a0235785e3f881b03b3 | |
parent | a1d31f71e6ed2f714830df8885ec07dfe1f6632e [diff] |
pinctrl: add some error checking for user interfaces This patch can avoid kernel oops in case the mux or config function is not supported by driver. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>