diff options
author | 2020-09-09 14:43:14 +0900 | |
---|---|---|
committer | 2020-09-10 12:57:08 -0700 | |
commit | 7d3ba9360c6dac7c077fbd6631e08f32ea2bcd53 (patch) | |
tree | 661fe6efadd280cc8075852e1e02f74eb71cbd75 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hv_netvsc: Cache the current data path to avoid duplicate call and message (diff) | |
download | wireguard-linux-7d3ba9360c6dac7c077fbd6631e08f32ea2bcd53.tar.xz wireguard-linux-7d3ba9360c6dac7c077fbd6631e08f32ea2bcd53.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions