diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2015-08-28 09:44:18 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-09-14 09:12:03 +0200 |
commit | e20538b82f1ffcc06e68feb117f24f211cff7a4d (patch) | |
tree | 8ec1e50230e9b0297253ccc7ad50903a16f7585f /Documentation/gpio | |
parent | aad38b75fb632200eb64282469458d21ce2cc39a (diff) | |
download | linux-e20538b82f1ffcc06e68feb117f24f211cff7a4d.tar.gz linux-e20538b82f1ffcc06e68feb117f24f211cff7a4d.tar.bz2 linux-e20538b82f1ffcc06e68feb117f24f211cff7a4d.zip |
gpio: Propagate errors from chip->get()
It's possible to have gpio chips hanging off unreliable remote buses
where the get() operation will fail to acquire a readout of the current
gpio state. Propagate these errors to the consumer so that they can
act on, retry or ignore these failing reads, instead of treating them as
the line being held high.
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/gpio')
0 files changed, 0 insertions, 0 deletions