]> 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)
commita31e34cf461fed224437ed9e2f368e7a5acf0213
tree38210f5beba342cb3de858ae1dd10942b44c572a
parent09a714152c5aee180fe71d3a305ab673693ab2ea
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: 81485403f4ec ("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