diff options
author | David S. Miller <davem@davemloft.net> | 2020-03-17 20:58:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-17 20:58:22 -0700 |
commit | 362d3d88809bbadc20856cf38d6a574099c8bc67 (patch) | |
tree | f644db3d63eed30670b1a79b2a25a6bcb63f5ded /net/sched | |
parent | 225fc22388e5154b37c9d67732f5b01a6db5bc22 (diff) | |
parent | c4474fe121c975d7b3629cab1ec639dec1f55cb6 (diff) |
Merge branch 'net-phy-improve-phy_driver-callback-handle_interrupt'
Heiner Kallweit says:
====================
net: phy: improve phy_driver callback handle_interrupt
did_interrupt() clears the interrupt, therefore handle_interrupt() can
not check which event triggered the interrupt. To overcome this
constraint and allow more flexibility for customer interrupt handlers,
let's decouple handle_interrupt() from parts of the phylib interrupt
handling. Custom interrupt handlers now have to implement the
did_interrupt() functionality in handle_interrupt() if needed.
Fortunately we have just one custom interrupt handler so far (in the
mscc PHY driver), convert it to the changed API and make use of the
benefits.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions