diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2020-11-23 17:38:15 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-25 11:18:38 -0800 |
commit | efc3d9de7fa64433ceb962815aa16973c1b8d886 (patch) | |
tree | f1b1ae9bac2b64bae1ad3ca27b406eafa67b98ff /lib/test_kmod.c | |
parent | aa2d603ac8c0a3070e78edd4c07606ae2587754f (diff) | |
download | linux-efc3d9de7fa64433ceb962815aa16973c1b8d886.tar.bz2 |
net: phy: qsemi: 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.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test_kmod.c')
0 files changed, 0 insertions, 0 deletions