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

From: Linus Walleij
Date: Tue Sep 08 2015 - 09:02:41 EST


On Fri, Aug 28, 2015 at 6:44 PM, Bjorn Andersson
<bjorn.andersson@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/