linux-sg2042/drivers/net/dsa/microchip
Marek Vasut 22e72b5e04 net: dsa: microchip: Use gpiod_set_value_cansleep()
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 <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-26 13:22:29 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ksz9477.c net: dsa: microchip: mark expected switch fall-through 2019-04-03 21:38:29 -07:00
ksz9477_reg.h net: dsa: microchip: rename ksz_9477_reg.h to ksz9477_reg.h 2018-11-20 20:57:12 -08:00
ksz9477_spi.c net: dsa: microchip: add KSZ9893 switch support 2019-03-03 13:48:49 -08:00
ksz_common.c net: dsa: microchip: Use gpiod_set_value_cansleep() 2019-06-26 13:22:29 -07:00
ksz_common.h dsa: Remove phydev parameter from disable_port call 2019-02-24 22:30:34 -08:00
ksz_priv.h net: dsa: microchip: add port_cleanup function 2019-02-24 17:49:59 -08:00
ksz_spi.h net: dsa: microchip: break KSZ9477 DSA driver into two files 2018-11-20 20:57:12 -08:00