gpio: rcar_gen3: Fix GPIO read support
authorKouei Abe <kouei.abe.cp@renesas.com>
Sat, 13 May 2017 13:48:04 +0000 (15:48 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sun, 21 May 2017 19:37:30 +0000 (04:37 +0900)
commit1815c297387babb250ca2b845b5647b332b232c2
tree2cd659333cc5df9162ca2e561a2dd02f136acb67
parenta375ff8e14bea0a5cbfff99d6456aa8d9a3320ab
gpio: rcar_gen3: Fix GPIO read support

This patch fixes to read the GPIO status after confirming the
INOUT setting.

Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Tom Rini <trini@konsulko.com>
drivers/gpio/sh_pfc.c