Re: [PATCH v2] net: phy: realtek: Dummy IRQ calls for RTL8366RB

2019-02-23 Thread David Miller
From: Linus Walleij Date: Sun, 24 Feb 2019 01:11:15 +0100 > 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 unles

Re: [PATCH v2] net: phy: realtek: Dummy IRQ calls for RTL8366RB

2019-02-23 Thread Andrew Lunn
On Sun, Feb 24, 2019 at 01:11:15AM +0100, Linus Walleij wrote: > 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 un

[PATCH v2] net: phy: realtek: Dummy IRQ calls for RTL8366RB

2019-02-23 Thread Linus Walleij
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 m