]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: xilinx: Not read output values via regs
authorMichal Simek <michal.simek@xilinx.com>
Mon, 23 Jul 2018 10:40:36 +0000 (12:40 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 7 Aug 2018 09:03:43 +0000 (11:03 +0200)
commitc714aeaec19559d1b05cbb7a501000c3904b1f87
treeb2af4df367eb60b77ec73e70f022d7349b85c3ac
parentcd1457d74ea42ded9817e9356fa5a79d3ba91d5a
gpio: xilinx: Not read output values via regs

Reading registers for finding out output value is not working because
input value is read instead in case of tristate.

Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
drivers/gpio/xilinx_gpio.c