Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220768 > unrolled thread

Re: [PATCH] gpio: Propagate errors from chip->get()

Started byLinus Walleij <linus.walleij@linaro.org>
First post2015-09-08 15:10 +0200
Last post2015-09-08 15:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] gpio: Propagate errors from chip->get() Linus Walleij <linus.walleij@linaro.org> - 2015-09-08 15:10 +0200

#1220768 — Re: [PATCH] gpio: Propagate errors from chip->get()

FromLinus Walleij <linus.walleij@linaro.org>
Date2015-09-08 15:10 +0200
SubjectRe: [PATCH] gpio: Propagate errors from chip->get()
Message-ID<q6qOU-57i-57@gated-at.bofh.it>
On Fri, Aug 28, 2015 at 6:44 PM, Bjorn Andersson
<bjorn.andersson@sonymobile.com> wrote:

> 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>

This patch applied for fixes with Alex' Review-tag.
Thanks for fixing this!

Should I even tag it for stable?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web