]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: fix phy interrupt parsing
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 26 Apr 2017 10:06:28 +0000 (12:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 02:21:49 +0000 (22:21 -0400)
commit582282a0b1ad23c999bc3a0997d760f93da19f95
treed9856aba705d8c23ac663a40b7e3078769dff0d9
parent8b4a5bc26e1a4b74c4f77cc84668d213b05811cc
net: macb: fix phy interrupt parsing

Since 6a3326a3cdee, the phydev irq is explicitly set to PHY_POLL when
there is no pdata. It doesn't work on DT enabled platforms because the
phydev irq is already set by libphy before.

Fixes: 6a3326a3cdee ("net: macb: Added PCI wrapper for Platform Driver.")
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c