diff options
author | 2020-11-01 14:51:13 +0200 | |
---|---|---|
committer | 2020-11-05 16:32:39 -0800 | |
commit | 0382916398f2d3cfa682a7bcb802ca8fcb4311d0 (patch) | |
tree | c74719063bc0b73288e1be89163def1ffc5ebd48 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | net: phy: add genphy_handle_interrupt_no_ack() (diff) | |
download | wireguard-linux-0382916398f2d3cfa682a7bcb802ca8fcb4311d0.tar.xz wireguard-linux-0382916398f2d3cfa682a7bcb802ca8fcb4311d0.zip |
net: phy: realtek: 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: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Willy Liu <willy.liu@realtek.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions