Commit 939440a5 authored by Andreas Svensson's avatar Andreas Svensson Committed by sanglipeng
Browse files

net: dsa: mv88e6xxx: Increase wait after reset deactivation

stable inclusion
from stable-v5.10.183
commit a437d3d25a2753af23cd7f3af5977cbeb7f11bdd
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a437d3d25a2753af23cd7f3af5977cbeb7f11bdd



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

[ Upstream commit 3c27f3d5 ]

A switch held in reset by default needs to wait longer until we can
reliably detect it.

An issue was observed when testing on the Marvell 88E6393X (Link Street).
The driver failed to detect the switch on some upstarts. Increasing the
wait time after reset deactivation solves this issue.

The updated wait time is now also the same as the wait time in the
mv88e6xxx_hardware_reset function.

Fixes: 7b75e49d ("net: dsa: mv88e6xxx: wait after reset deactivation")
Signed-off-by: default avatarAndreas Svensson <andreas.svensson@axis.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230530145223.1223993-1-andreas.svensson@axis.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e91c0477
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment