]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: gpio: keep output value for input on sandbox
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 14 Sep 2020 10:50:55 +0000 (12:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Oct 2020 15:16:34 +0000 (11:16 -0400)
commit7e589b2faf348e206f0f63a12bbde6d1a398f190
treeddbbed43a10c1a25a9c813cf6cc347e545b50524
parent24708cb8c87689783138afd7e0dfded2dee63135
drivers: gpio: keep output value for input on sandbox

For testing purposes keep the output value when switching to input.
This allows us to manipulate the input value via the gpio command.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
drivers/gpio/sandbox.c