diff options
author | Yoshihiro Shimoda <[email protected]> | 2020-09-09 14:43:14 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-09-10 12:57:08 -0700 |
commit | 7d3ba9360c6dac7c077fbd6631e08f32ea2bcd53 (patch) | |
tree | 661fe6efadd280cc8075852e1e02f74eb71cbd75 /drivers/usb/cdns3/cdns3-debug.h | |
parent | da26658c3d7005aa67a706dceff7b2807b59e123 (diff) |
net: phy: call phy_disable_interrupts() in phy_attach_direct() instead
Since the micrel phy driver calls phy_init_hw() as a workaround,
the commit 9886a4dbd2aa ("net: phy: call phy_disable_interrupts()
in phy_init_hw()") disables the interrupt unexpectedly. So,
call phy_disable_interrupts() in phy_attach_direct() instead.
Otherwise, the phy cannot link up after the ethernet cable was
disconnected.
Note that other drivers (like at803x.c) also calls phy_init_hw().
So, perhaps, the driver caused a similar issue too.
Fixes: 9886a4dbd2aa ("net: phy: call phy_disable_interrupts() in phy_init_hw()")
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions