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: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录
Some controllers do not allow the output value to be read. Detect this and
report the error in that case.
Signed-off-by: NSimon Glass <sjg@chromium.org>