On Sun, Jun 23, 2019 at 5:14 PM Marek Vasut <ma...@denx.de> wrote: > Replace gpiod_set_value() with gpiod_set_value_cansleep(), as the switch > reset GPIO can be connected to e.g. I2C GPIO expander and it is perfectly > fine for the kernel to sleep for a bit in ksz_switch_register(). > > Signed-off-by: Marek Vasut <ma...@denx.de> > Cc: Andrew Lunn <and...@lunn.ch> > Cc: Florian Fainelli <f.faine...@gmail.com> > Cc: Linus Walleij <linus.wall...@linaro.org> > Cc: Tristram Ha <tristram...@microchip.com> > Cc: Woojung Huh <woojung....@microchip.com> > Reviewed-by: Andrew Lunn <and...@lunn.ch> > --- > V2: use _cansleep in .remove as well
Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij