diff options
author | 2023-05-23 17:31:07 +0200 | |
---|---|---|
committer | 2023-05-24 22:14:10 -0700 | |
commit | 7df0b33d7993338a06e4039ec025bb67851ee41d (patch) | |
tree | 1a83cfe1c7aa48e77e481cc7c9a69c66e76f3fe8 /scripts/generate_rust_analyzer.py | |
parent | net: phy: mscc: add support for VSC8501 (diff) | |
download | wireguard-linux-7df0b33d7993338a06e4039ec025bb67851ee41d.tar.xz wireguard-linux-7df0b33d7993338a06e4039ec025bb67851ee41d.zip |
net: phy: mscc: remove unnecessary phydev locking
Holding the struct phy_device (phydev) lock is unnecessary when
accessing phydev->interface in the PHY driver .config_init method,
which is the only place that vsc85xx_rgmii_set_skews() is called from.
The phy_modify_paged() function implements required MDIO bus level
locking, which can not be achieved by a phydev lock.
Signed-off-by: David Epping <david.epping@missinglinkelectronics.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions