diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2019-05-13 15:41:45 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-13 09:10:39 -0700 |
commit | dffe7d2e04670ff98e4dacf258df30446e2e80d4 (patch) | |
tree | 0bab347f9cd0e060b6c94dd8141760ab0321d3b1 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5afcd14cfc7fed1bcc8abcee2cef82732772bfc2 (diff) |
net: phy: realtek: Replace phy functions with non-locked version in rtl8211e_config_init()
After calling phy_select_page() and until calling phy_restore_page(),
the mutex 'mdio_lock' is already locked, so the driver should use
non-locked version of phy functions. Or there will be a deadlock with
'mdio_lock'.
This replaces phy functions called from rtl8211e_config_init() to avoid
the deadlock issue.
Fixes: f81dadbcf7fd ("net: phy: realtek: Add rtl8211e rx/tx delays config")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions