]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: meson-gxl: improve link-up behavior
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 9 Mar 2022 21:04:47 +0000 (22:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Mar 2022 22:57:02 +0000 (14:57 -0800)
commitb5f5768a1f7a2c2d4b5ea63d03b7d11bd82f3d15
treed77cd85c355ea8dbc625e76ce34510a7f83cdf5f
parent4012e7fcfc68baa76abeddb7b2868b6bb3358921
net: phy: meson-gxl: improve link-up behavior

Sometimes the link comes up but no data flows. This patch fixes
this behavior. It's not clear what's the root cause of the issue.

According to the tests one other link-up issue remains.
In very rare cases the link isn't even reported as up.

Fixes: f26b167c5332 ("net: phy: meson-gxl: remove the use of .ack_callback()")
Tested-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/e3473452-a1f9-efcf-5fdd-02b6f44c3fcd@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/meson-gxl.c