commit | bb322a90383603aaf71ad882a7c5a48b39a02603 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu May 10 13:17:29 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 11 12:03:05 2018 -0400 |
tree | 38210f5beba342cb3de858ae1dd10942b44c572a | |
parent | ec9efb523cb8daf7b9d2e5c9cb80b255b716a777 [diff] |
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: 9525ae83959b ("phylink: add phylink infrastructure") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>