diff options
author | Marek Vasut <marex@denx.de> | 2019-06-23 17:12:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-26 13:22:29 -0700 |
commit | 22e72b5e049b95789b34a4cef316c791e7c2fed5 (patch) | |
tree | a455301c24f14858f3e1d4e6d145569d99e65a97 /fs/nilfs2/segbuf.c | |
parent | 48dd73d08d4dda47ee31cc8611fb16840fc16803 (diff) |
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>
Diffstat (limited to 'fs/nilfs2/segbuf.c')
0 files changed, 0 insertions, 0 deletions