diff options
author | Mian Yousaf Kaukab <ykaukab@suse.de> | 2021-03-18 09:50:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-18 19:22:04 +0100 |
commit | 804741ac7b9f2fdebe3740cb0579cb8d94d49e60 (patch) | |
tree | b580e071035b84c95386449762ab46e1dc29c6e0 /tools/perf | |
parent | ipv6: weaken the v4mapped source check (diff) | |
download | linux-804741ac7b9f2fdebe3740cb0579cb8d94d49e60.tar.xz linux-804741ac7b9f2fdebe3740cb0579cb8d94d49e60.zip |
netsec: restore phy power state after controller reset
Since commit 8e850f25b581 ("net: socionext: Stop PHY before resetting
netsec") netsec_netdev_init() power downs phy before resetting the
controller. However, the state is not restored once the reset is
complete. As a result it is not possible to bring up network on a
platform with Broadcom BCM5482 phy.
Fix the issue by restoring phy power state after controller reset is
complete.
Fixes: 8e850f25b581 ("net: socionext: Stop PHY before resetting netsec")
Cc: stable@vger.kernel.org
Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions