Quoting Ricardo Ribalda Delgado (2018-09-21 03:36:04) > Current code assumes that the direction is input if direction_input > function is set. > This might not be the case on GPIOs with programmable direction. > > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx> > --- Looks OK to me visually. I haven't tested it because I don't have access to the locked down hardware anymore. Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>