Commit 712665c1 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Xie XiuQi
Browse files

net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ9031



mainline inclusion
from mainline-4.20
commit 1d16073a
category: bugfix
bugzilla: 6040
CVE: NA

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

So far genphy_soft_reset was used automatically if the PHY driver
didn't implement the soft_reset callback. This changed with the
mentioned commit and broke KSZ9031. To fix this configure the
KSZ9031 PHY driver to use genphy_soft_reset.

Fixes: 6e2d85ec ("net: phy: Stop with excessive soft reset")
Reported-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Tested-by: default avatarTony Lindgren <tony@atomide.com>
Tested-by: default avatarSekhar Nori <nsekhar@ti.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 7d13e6f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment