android_kernel_lge_bullhead/drivers/pinctrl/vt8500
Tony Prisk c2b570f3e4 pinctrl: vt8500: Change devicetree data parsing
commit f17248ed868767567298e1cdf06faf8159a81f7c upstream.

Due to an assumption in the VT8500 pinctrl driver, the value passed
from devicetree for 'wm,pull' was not explicitly translated before
being passed to pinconf.

Since v3.10, changes to 'enum pin_config_param', PIN_CONFIG_BIAS_PULL_(UP/DOWN)
no longer map 1-to-1 with the expected values in devicetree.

This patch adds a small translation between the devicetree values (0..2)
and the enum pin_config_param equivalent values.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-20 11:06:11 -08:00
..
Kconfig
Makefile
pinctrl-vt8500.c
pinctrl-wm8505.c
pinctrl-wm8650.c
pinctrl-wm8750.c pinctrl: vt8500: Fix incorrect data in WM8750 pinctrl table 2013-05-14 13:08:28 +02:00
pinctrl-wm8850.c
pinctrl-wmt.c pinctrl: vt8500: Change devicetree data parsing 2014-02-20 11:06:11 -08:00
pinctrl-wmt.h