diff options
author | Tony Prisk <[email protected]> | 2014-01-23 21:57:33 +1300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2014-02-03 09:08:01 +0100 |
commit | f17248ed868767567298e1cdf06faf8159a81f7c (patch) | |
tree | a1623ea67c5ed0b193fb5f34696cce90e0198719 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
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: <[email protected]> # v3.10+
Signed-off-by: Tony Prisk <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions