On Thu, Oct 20, 2016 at 1:41 AM, Dmitry Torokhov
<[email protected]> wrote:

> It does not matter if given GPIO may sleep or not when reading state,
> polling is always done in a non-atomic context, so we should always
> be able to simply use gpiod_get_value_cansleep().
>
> Also let's note in the logs when we fail to read gpio state.
>
> Signed-off-by: Dmitry Torokhov <[email protected]>

Apart from the other comments mentioned:
Acked-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij

Reply via email to