From: Axel Lin Date: Mon, 7 Apr 2014 23:59:39 +0000 (+0800) Subject: gpio: zevio: Get correct gpio output value X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~53^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef7de2625fdd40c2d26a10bf87cc1626017adc18;p=pandora-kernel.git gpio: zevio: Get correct gpio output value Read gpio output value from ZEVIO_GPIO_OUTPUT. The spin_lock is required to ensure the direction is not changed before reading input/ouput value. Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- Reading git-diff-tree failed