diff options
| author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2020-11-01 15:50:59 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-06 03:31:59 +0300 |
| commit | 297730973602394606a4d9640f407aa72a57ca1a (patch) | |
| tree | edc50de1d90bacdcb1c475af8132af4aca2e788e /scripts/patch-kernel | |
| parent | 7b2d59085d17ee5c1a36f723de6cf924f25dbfc3 (diff) | |
| download | linux-297730973602394606a4d9640f407aa72a57ca1a.tar.xz | |
net: phy: at803x: implement generic .handle_interrupt() callback
In an attempt to actually support shared IRQs in phylib, we now move the
responsibility of triggering the phylib state machine or just returning
IRQ_NONE, based on the IRQ status register, to the PHY driver. Having
3 different IRQ handling callbacks (.handle_interrupt(),
.did_interrupt() and .ack_interrupt() ) is confusing so let the PHY
driver implement directly an IRQ handler like any other device driver.
Make this driver follow the new convention.
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Michael Walle <michael@walle.cc>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
