diff options
| author | Linus Walleij <[email protected]> | 2019-02-24 00:11:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-24 02:45:28 +0000 |
| commit | 4c8e0459b585e2a7b367545be3e102737f1e489f (patch) | |
| tree | fd87c219b0556bf0eac5e2509896261dca11b0e2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | tcp: repaired skbs must init their tso_segs (diff) | |
| download | kernel-4c8e0459b585e2a7b367545be3e102737f1e489f.tar.gz kernel-4c8e0459b585e2a7b367545be3e102737f1e489f.zip | |
net: phy: realtek: Dummy IRQ calls for RTL8366RB
This fixes a regression introduced by
commit 0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7
"net: phy: replace PHY_HAS_INTERRUPT with a check for
config_intr and ack_interrupt".
This assumes that a PHY cannot trigger interrupt unless
it has .config_intr() or .ack_interrupt() implemented.
A later patch makes the code assume both need to be
implemented for interrupts to be present.
But this PHY (which is inside a DSA) will happily
fire interrupts without either callback.
Implement dummy callbacks for .config_intr() and
.ack_interrupt() in the phy header to fix this.
Tested on the RTL8366RB on D-Link DIR-685.
Fixes: 0d2e778e38e0 ("net: phy: replace PHY_HAS_INTERRUPT with a check for config_intr and ack_interrupt")
Cc: Heiner Kallweit <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
