diff options
author | Ioana Ciornei <[email protected]> | 2020-11-01 14:51:02 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-05 16:32:00 -0800 |
commit | 4008f373eb711630aae79be0b126dc877c4f3a5d (patch) | |
tree | 76dff09bfd0b73a3432494abc7893ca98c940daa /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f2e9060458b11a0daa20beb68219ba6b8858beba (diff) |
net: phy: mscc: 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.
Also, remove the .did_interrupt() callback since it's not anymore used.
Signed-off-by: Ioana Ciornei <[email protected]>
Tested-by: Vladimir Oltean <[email protected]> # VSC8514
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions