diff options
| author | Minda Chen <minda.chen@starfivetech.com> | 2026-06-05 09:02:10 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-10 03:31:20 +0300 |
| commit | 0bfd6c8c959d07804275012415fcb04740dc5f9b (patch) | |
| tree | 437bb332145ac6a89e4fd71c23f6aad33653f6d4 /scripts/patch-kernel | |
| parent | 81a699ccd3091915d00da847df8dac0d1b131693 (diff) | |
| download | linux-0bfd6c8c959d07804275012415fcb04740dc5f9b.tar.xz | |
net: phy: motorcomm: move mdio lock out from yt8531_set_ds()
yt8531_set_ds() default set register with mdio lock and only called
with YT8531 PHY. But new type YT8531s support RGMII and has the same
pin strength setting with YT8531, YT8531s need to call yt8531_set_ds()
setting pin drive strength. But YT8531s config init function
yt8521_config_init() already get the mdio lock with phy_select_page().
If calling yt8521_config_init() with mdio lock will cause dead lock.
Need to get the lock before calling yt8531_set_ds() and move mdio
lock out from it for YT8531s.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260605060212.41895-2-minda.chen@starfivetech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
