summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2018-11-16 08:38:36 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-17 21:11:51 -0800
commitdf5a8ec64eed7fe45b556cfff503acd6429ab817 (patch)
tree9c48eebcc506cd6dd6d442842839d549e6175767 /net/socket.c
parent160396a722e0c4dfd462f3eec779251bf944f438 (diff)
downloadtalos-op-linux-df5a8ec64eed7fe45b556cfff503acd6429ab817.tar.gz
talos-op-linux-df5a8ec64eed7fe45b556cfff503acd6429ab817.zip
net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs
Up until commit 7e5fbd1e0700 ("net: mdio-gpio: Convert to use gpiod functions where possible"), the _cansleep variants of the gpio_ API was used. After that commit and the change to gpiod_ API, the _cansleep() was dropped. This then results in WARN_ON() when used with GPIO devices which do sleep. Add back the _cansleep() to avoid this. Fixes: 7e5fbd1e0700 ("net: mdio-gpio: Convert to use gpiod functions where possible") Signed-off-by: Martin Schiller <ms@dev.tdt.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud