net: phy: marvell10g: fix 88x3310 power up
stable inclusion from stable-v5.10.190 commit 111b699300a766b365b0380d8ca4611634ef5043 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=111b699300a766b365b0380d8ca4611634ef5043 -------------------------------- [ Upstream commit c7b75bea ] Clear MV_V2_PORT_CTRL_PWRDOWN bit to set power up for 88x3310 PHY, it sometimes does not take effect immediately. And a read of this register causes the bit not to clear. This will cause mv3310_reset() to time out, which will fail the config initialization. So add a delay before the next access. Fixes: c9cc1c81 ("net: phy: marvell10g: place in powersave mode at probe") Signed-off-by:Jiawen Wu <jiawenwu@trustnetic.com> Reviewed-by:
Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment