From: Mika Westerberg Date: Thu, 29 Jan 2015 10:44:48 +0000 (+0200) Subject: pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~123^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2479c7300ed943d62c88cd928ddccb4677c71ad4;p=pandora-kernel.git pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs If the pin is in HiZ mode when it is requested as GPIO its value cannot be read (it always returns 0). In order to cope with the Linux GPIO subsystem where we do not have such state at all, turn the pin to be input instead. Reported-by: Jerome Blin Signed-off-by: Mika Westerberg Signed-off-by: Linus Walleij --- Reading git-diff-tree failed