diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2025-11-12 13:57:12 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-13 17:48:43 -0800 |
| commit | c31783c2b5ae2399388b349f48fa89818b66f6d8 (patch) | |
| tree | ab1bee17fd60d1d636919cbd5ef6233adc6f93dd /tools/perf/scripts/python/libxed.py | |
| parent | de9c41624c9cda3a96a9ac6cd9b048d9a25d787d (diff) | |
| download | linux-c31783c2b5ae2399388b349f48fa89818b66f6d8.tar.gz linux-c31783c2b5ae2399388b349f48fa89818b66f6d8.zip | |
net: phy: mscc: Simplify LED mode update using phy_modify()
The vsc85xx_led_cntl_set() function currently performs a manual
read-modify-write sequence protected by the PHY lock to update the
LED mode register (MSCC_PHY_LED_MODE_SEL).
Replace this sequence with a call to phy_modify(), which already
handles read-modify-write operations with proper locking inside
the PHY core.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20251112135715.1017117-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
