]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: sh-pfc: fix gpio input read
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Mon, 20 Jul 2015 17:49:25 +0000 (20:49 +0300)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 31 Aug 2015 08:26:03 +0000 (17:26 +0900)
commit9035edbae9dd3c10751d78bf80a1b2bc225cda4f
tree6394d4dd34b9f6f3bb801be1c742cbfe9fe47aa1
parentf875bbb49111c308b90b9ca74d1b79f69498b278
gpio: sh-pfc: fix gpio input read

Fix gpio_read: gpio input (INDT) and gpio output (OUTDT) registers
have different offset. gpio_read must be performed from INDT.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/gpio/sh_pfc.c