2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/drivers/pinctrl/vt8500
Tony Prisk f17248ed86 pinctrl: vt8500: Change devicetree data parsing
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.

Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-02-03 09:08:01 +01: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-03 09:08:01 +01:00
pinctrl-wmt.h