summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/core.c
diff options
context:
space:
mode:
authorDong Aisheng <dong.aisheng@linaro.org>2012-04-10 06:41:34 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-04-18 13:53:11 +0200
commitad8bb720c23a80233e45ed31d67458f5e5b7ab31 (patch)
tree6b1da7d3dc99bacd03167a0235785e3f881b03b3 /drivers/pinctrl/core.c
parentpinctrl: fix pinmux_check_ops error checking (diff)
downloadlinux-ad8bb720c23a80233e45ed31d67458f5e5b7ab31.tar.xz
linux-ad8bb720c23a80233e45ed31d67458f5e5b7ab31.zip
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>
Diffstat (limited to 'drivers/pinctrl/core.c')
0 files changed, 0 insertions, 0 deletions