net: macb: fix phy interrupt parsing
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 26 Apr 2017 10:06:28 +0000 (12:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:08:28 +0000 (14:08 +0200)
commit9cd3670409a92fe6cc8b1b2c1e76feeaa5cb2a4c
tree7a2d68c163225fa2b8e831952f881cc4c66c7589
parent99975dd434618b24585acc83b87a11b7fc9686c6
net: macb: fix phy interrupt parsing

[ Upstream commit ae3696c167cc04d32634c4af82f43b446c5176b0 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/cadence/macb.c