https://github.com/torvalds/linux
Revision 22e72b5e049b95789b34a4cef316c791e7c2fed5 authored by Marek Vasut on 23 June 2019, 15:12:57 UTC, committed by David S. Miller on 26 June 2019, 20:22:29 UTC
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>
1 parent 48dd73d
History
Tip revision: 22e72b5e049b95789b34a4cef316c791e7c2fed5 authored by Marek Vasut on 23 June 2019, 15:12:57 UTC
net: dsa: microchip: Use gpiod_set_value_cansleep()
Tip revision: 22e72b5
File Mode Size
.gitignore -rw-r--r-- 44 bytes
Kconfig -rw-r--r-- 3.4 KB
Makefile -rw-r--r-- 4.1 KB
blacklist.c -rw-r--r-- 3.8 KB
blacklist.h -rw-r--r-- 84 bytes
blacklist_hashes.c -rw-r--r-- 166 bytes
blacklist_nohashes.c -rw-r--r-- 122 bytes
system_certificates.S -rw-r--r-- 828 bytes
system_keyring.c -rw-r--r-- 7.8 KB

back to top