diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-03-17 00:32:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-18 06:58:22 +0300 |
commit | 9010f9deb000edce823cb79345f137742ccffa19 (patch) | |
tree | 52169d22cd01474d5d4e3a4398c981f37847c98f /Documentation/sphinx/maintainers_include.py | |
parent | 225fc22388e5154b37c9d67732f5b01a6db5bc22 (diff) | |
download | linux-9010f9deb000edce823cb79345f137742ccffa19.tar.xz |
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.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/sphinx/maintainers_include.py')
0 files changed, 0 insertions, 0 deletions