On Sun, Jun 23, 2019 at 5:14 PM Marek Vasut <[email protected]> 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 <[email protected]>
> Cc: Andrew Lunn <[email protected]>
> Cc: Florian Fainelli <[email protected]>
> Cc: Linus Walleij <[email protected]>
> Cc: Tristram Ha <[email protected]>
> Cc: Woojung Huh <[email protected]>
> Reviewed-by: Andrew Lunn <[email protected]>
> ---
> V2: use _cansleep in .remove as well

Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij

Reply via email to