diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-09-14 16:35:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-17 14:31:23 +0100 |
commit | 8da77df649c43d9cec70d683ee317ba5d49d09b7 (patch) | |
tree | 482523f3da161f261a0bb252553d78a2e851ac41 /LICENSES | |
parent | 002841be134e60994a34b510eebf5f091d0cd6c6 (diff) |
net: phy: always call phy_process_state_change() under lock
phy_stop() calls phy_process_state_change() while holding the phydev
lock, so also arrange for phy_state_machine() to do the same, so that
this function is called with consistent locking.
Tested-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions