Re: [PATCH V2] net: dsa: microchip: Use gpiod_set_value_cansleep()

2019-06-26 Thread David Miller
From: Marek Vasut Date: Sun, 23 Jun 2019 17:12:57 +0200 > 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: Mar

Re: [PATCH V2] net: dsa: microchip: Use gpiod_set_value_cansleep()

2019-06-24 Thread Linus Walleij
On Sun, Jun 23, 2019 at 5:14 PM Marek Vasut 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 Vas

[PATCH V2] net: dsa: microchip: Use gpiod_set_value_cansleep()

2019-06-23 Thread Marek Vasut
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 Cc: Andrew Lunn Cc: Florian Fainelli Cc: Linus Walleij