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)
commitae3696c167cc04d32634c4af82f43b446c5176b0
treed9856aba705d8c23ac663a40b7e3078769dff0d9
parent8dd5b698c27948503e0ceb6f824c18178e509098
net: macb: fix phy interrupt parsing

Since 83a77e9ec415, 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: 83a77e9ec415 ("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