]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Use threaded IRQ, to allow IRQ from sleeping devices
authorAndrew Lunn <andrew@lunn.ch>
Sun, 16 Oct 2016 17:56:50 +0000 (19:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2016 15:18:08 +0000 (11:18 -0400)
commit040f55c174fba5ee0e4ad12a37943ccd01d2ecc5
treea51ba5afda0add0e6786aac22fa6b839895a8c09
parentd1bb45781f2ceb7285703816e4ec0fc2ae5c64df
net: phy: Use threaded IRQ, to allow IRQ from sleeping devices

The interrupt lines from PHYs maybe connected to I2C bus expanders, or
from switches on MDIO busses. Such interrupts are sourced from devices
which sleep, so use threaded interrupts. Threaded interrupts require
that the interrupt requester also uses the threaded API. Change the
phylib to use the threaded API, which is backwards compatible with
none-threaded IRQs.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c