From: Tony Prisk Date: Thu, 23 Jan 2014 08:57:33 +0000 (+1300) Subject: pinctrl: vt8500: Change devicetree data parsing X-Git-Tag: v3.14-rc2~5^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f17248ed868767567298e1cdf06faf8159a81f7c;p=pandora-kernel.git 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: # v3.10+ Signed-off-by: Tony Prisk Signed-off-by: Linus Walleij --- Reading git-diff-tree failed