[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190626.132324.200411260732636394.davem@davemloft.net>
Date: Wed, 26 Jun 2019 13:23:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: marex@...x.de
Cc: netdev@...r.kernel.org, andrew@...n.ch, f.fainelli@...il.com,
linus.walleij@...aro.org, Tristram.Ha@...rochip.com,
Woojung.Huh@...rochip.com
Subject: Re: [PATCH V2] net: dsa: microchip: Use gpiod_set_value_cansleep()
From: Marek Vasut <marex@...x.de>
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: Marek Vasut <marex@...x.de>
> Cc: Andrew Lunn <andrew@...n.ch>
> Cc: Florian Fainelli <f.fainelli@...il.com>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: Tristram Ha <Tristram.Ha@...rochip.com>
> Cc: Woojung Huh <Woojung.Huh@...rochip.com>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
> ---
> V2: use _cansleep in .remove as well
Applied, thank you.
Powered by blists - more mailing lists