From: David Cohen Date: Tue, 14 Oct 2014 17:54:37 +0000 (-0700) Subject: pinctrl: baytrail: show output gpio state correctly on Intel Baytrail X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~162^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d90c33818967c5e5371961604ad98b4dea4fa3f4;p=pandora-kernel.git pinctrl: baytrail: show output gpio state correctly on Intel Baytrail Even if a gpio pin is set to output, we still need to set INPUT_EN functionality (by clearing INPUT_EN bit) to be able to read the pin's level. E.g. without this change, we'll always read low level state from sysfs. Cc: # v3.14+ Cc: Mathias Nyman Signed-off-by: David Cohen Reviewed-by: Felipe Balbi Signed-off-by: Linus Walleij --- Reading git-diff-tree failed