]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Report errors when GPIOs cannot be read
authorSimon Glass <sjg@chromium.org>
Tue, 1 Sep 2015 00:55:36 +0000 (18:55 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Mar 2016 03:27:37 +0000 (21:27 -0600)
commitb71bea71294959c07e67ce7c91594f380f82f3a9
treec78d4f31fbb91a6ff5760d610b67b6ba19b7418f
parentf23baa572f96e1e13d7f1a3c8addb61b5d0dbd29
gpio: Report errors when GPIOs cannot be read

Some controllers do not allow the output value to be read. Detect this and
report the error in that case.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/gpio.c