]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: phylink: Use gpiod_get_value_cansleep()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 10 May 2018 20:17:29 +0000 (13:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2018 16:03:05 +0000 (12:03 -0400)
commit923c968765aad0907580a7e39bb7e95c67562d80
tree38210f5beba342cb3de858ae1dd10942b44c572a
parent4f9aacc403920fcae98a153901a4082f6a9bd296
net: phy: phylink: Use gpiod_get_value_cansleep()

The GPIO provider for the link GPIO line might require the use of the
_cansleep() API, utilize that. This is safe to do since we run in workqueue
context.

Fixes: d3eead77c792 ("phylink: add phylink infrastructure")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c