Commit 2f554490 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Yang Yingliang
Browse files

net: phy: call state machine synchronously in phy_stop



mainline inclusion
from mainline-v4.20-rc1
commit e8cfd9d6
category: bugfix
bugzilla: NA
CVE: NA

----------------------------------------------------

phy_stop() may be called e.g. when suspending, therefore all needed
actions should be performed synchronously. Therefore add a synchronous
call to the state machine.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Tested-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Reviewed-by: default avatarWeiwei Deng <dengweiwei@huawei.com>
Reviewed-by: default avatarZhaohui Zhong <zhongzhaohui@huawei.com>
Reviewed-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Signed-off-by: default avatarYou Shengzui <youshengzui@huawei.com>
Reviewed-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 2e094fe9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment