diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2020-09-09 14:43:14 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-10 12:57:08 -0700 |
commit | 7d3ba9360c6dac7c077fbd6631e08f32ea2bcd53 (patch) | |
tree | 661fe6efadd280cc8075852e1e02f74eb71cbd75 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions