diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2014-01-23 21:57:33 +1300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-03 09:08:01 +0100 |
commit | f17248ed868767567298e1cdf06faf8159a81f7c (patch) | |
tree | a1623ea67c5ed0b193fb5f34696cce90e0198719 /firmware/dsp56k | |
parent | 795779df22afc8bdee4e9fbe5c18c47e44974d75 (diff) |
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>
Diffstat (limited to 'firmware/dsp56k')
0 files changed, 0 insertions, 0 deletions