On Wed, Feb 5, 2014 at 10:14 PM, Linus Walleij <[email protected]> wrote: > The generic GPIO would return 0 for low generic GPIO, and > something != 0 for high GPIO. Let's make this sane by clamping > the returned value to [0,1]. > > Reported-by: Evgeny Boger <[email protected]> > Cc: Alexandre Courbot <[email protected]> > Signed-off-by: Linus Walleij <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
