Commit 2002fba
net: phy: micrel: fix shared interrupt on LAN8814
Since commit ece1950 ("net: phy: micrel: 1588 support for LAN8814
phy") the handler always returns IRQ_HANDLED, except in an error case.
Before that commit, the interrupt status register was checked and if
it was empty, IRQ_NONE was returned. Restore that behavior to play nice
with the interrupt line being shared with others.
Fixes: ece1950 ("net: phy: micrel: 1588 support for LAN8814 phy")
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Divya Koppera <Divya.Koppera@microchip.com>
Link: https://lore.kernel.org/r/20220920141619.808117-1-michael@walle.cc
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent e738455 commit 2002fba
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2679 | 2679 | | |
2680 | 2680 | | |
2681 | 2681 | | |
| 2682 | + | |
2682 | 2683 | | |
2683 | 2684 | | |
2684 | | - | |
2685 | | - | |
2686 | | - | |
2687 | 2685 | | |
2688 | 2686 | | |
2689 | 2687 | | |
2690 | 2688 | | |
2691 | 2689 | | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
2692 | 2695 | | |
2693 | 2696 | | |
2694 | 2697 | | |
| |||
2697 | 2700 | | |
2698 | 2701 | | |
2699 | 2702 | | |
2700 | | - | |
| 2703 | + | |
2701 | 2704 | | |
2702 | | - | |
| 2705 | + | |
| 2706 | + | |
2703 | 2707 | | |
| 2708 | + | |
2704 | 2709 | | |
2705 | | - | |
| 2710 | + | |
| 2711 | + | |
2706 | 2712 | | |
2707 | 2713 | | |
2708 | 2714 | | |
| |||
0 commit comments