]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: mdio-gpio: support access that may sleep
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 22 Apr 2015 17:06:54 +0000 (13:06 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Apr 2015 16:24:57 +0000 (12:24 -0400)
commit2d6c9091ab7630dfcf34417c6683ce4764d7d40a
tree33ef7d2e99e0443b59e8712a32209c0ec9592f02
parentb357a364c57c940ddb932224542494363df37378
net: mdio-gpio: support access that may sleep

Some systems using mdio-gpio may use gpio on message based busses, which
require sleeping (e.g. gpio from an I2C I/O expander).

Since this driver does not use IRQ handler, it is safe to use the
_cansleep suffixed gpio accessors.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c