diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-04-23 21:38:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-24 16:47:51 -0700 |
commit | 9576e9fa1c02aea3cf1e42eadcbeb12ccf5e87de (patch) | |
tree | f4d442689a28a1719e0e5a1323679472127df000 /security/selinux | |
parent | 3194915486b2bc3f77745774f1731b78f32ff688 (diff) |
net: phy: clear phydev->suspended after soft reset
If a soft reset is triggered whilst PHY is in power-down, then
phydev->suspended will remain set. Seems we didn't face any issue yet
caused by this, but better reset the suspended flag after soft reset.
See also the following from 22.2.4.1.1
Resetting a PHY is accomplished by setting bit 0.15 to a logic one.
This action shall set the status and control registers to their default
states.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions