diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-01-19 06:33:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-21 21:48:51 +0300 |
commit | 49f7a471e4d172fc80140beccf6b3409b117b130 (patch) | |
tree | ab369c824c7ea654fd236e28a6757ae736a12b21 /fs/exportfs | |
parent | deccd16f91f930af8e91ffbbfc839d0ad8da999d (diff) | |
download | linux-49f7a471e4d172fc80140beccf6b3409b117b130.tar.xz |
net: bcmgenet: Properly configure PHY to ignore interrupt
By the time we execute bcmgenet_mii_probe(), the MDIO bus structure has
long been allocated and registered. Overirring the PHY interrupt using
the MDIO bus structure has no chance to work anymore, because
of_mdiobus_register() has call phy_device_create() for use, which copied
the MDIO bus address's irq for the PHY into the PHY device "irq" member.
Since we do have a proper reference to a PHY device in
bcmgenet_mii_probe(), just assign the desired IRQ value here.
Fixes: aa09677cba42 ("net: bcmgenet: add MDIO routines")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/exportfs')
0 files changed, 0 insertions, 0 deletions