kernel-fxtec-pro1x/drivers/pinctrl
Linus Walleij 70b36378d4 pinctrl: fix error path in pinconf_map_to_setting()
The code was using the union member
setting->data.configs.group_or_pin to store a potential
error code, but since that member is unsigned the
< 0 comparison was not true, letting errors pass through,
ending up as mapped to pin "-22". Fix this up and print
the error.

Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-03-12 22:48:43 +01:00
..
core.c pinctrl: enhance mapping table to support pin config operations 2012-03-05 11:25:11 +01:00
core.h pinctrl: allow concurrent gpio and mux function ownership of pins 2012-03-12 22:43:09 +01:00
Kconfig Merge branch 'pinctrl-tegra-for-next-diet' into for-next 2012-03-06 23:30:15 +01:00
Makefile Merge branch 'pinctrl-tegra-for-next-diet' into for-next 2012-03-06 23:30:15 +01:00
pinconf.c pinctrl: fix error path in pinconf_map_to_setting() 2012-03-12 22:48:43 +01:00
pinconf.h pinctrl: enhance mapping table to support pin config operations 2012-03-05 11:25:11 +01:00
pinctrl-coh901.c pinctrl: spawn U300 pinctrl from the COH901 GPIO 2012-02-22 17:59:33 +01:00
pinctrl-mmp2.c pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-pxa3xx.c pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-pxa3xx.h pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-pxa168.c pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-pxa910.c pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-sirf.c pinctrl: remove unnecessary max pin number 2012-01-03 09:10:09 +01:00
pinctrl-tegra.c pinctrl: add a driver for NVIDIA Tegra 2012-03-06 10:51:46 +01:00
pinctrl-tegra.h pinctrl: add a driver for NVIDIA Tegra 2012-03-06 10:51:46 +01:00
pinctrl-tegra20.c pinctrl: add a driver for NVIDIA Tegra 2012-03-06 10:51:46 +01:00
pinctrl-tegra30.c pinctrl: add a driver for NVIDIA Tegra 2012-03-06 10:51:46 +01:00
pinctrl-u300.c pinctrl: spawn U300 pinctrl from the COH901 GPIO 2012-02-22 17:59:33 +01:00
pinmux.c pinctrl: allow concurrent gpio and mux function ownership of pins 2012-03-12 22:43:09 +01:00
pinmux.h pinctrl: enhance mapping table to support pin config operations 2012-03-05 11:25:11 +01:00