diff options
author | Andre Edich <andre.edich@microchip.com> | 2021-03-29 12:45:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-14 10:50:31 +0300 |
commit | c45cb22a5500c6f45fa6e966400f6afd51e685ad (patch) | |
tree | 1e3b8c03e10facf60dc7b389397e3c8a496669ce /include | |
parent | 897c095c7e9ea3c20875f7d6ff626f8455d3324e (diff) | |
download | linux-c45cb22a5500c6f45fa6e966400f6afd51e685ad.tar.xz |
net: phy: lan87xx: fix access to wrong register of LAN87xx
[ Upstream commit fdb5cc6ab3b6a1c0122d3644a63ef9dc7a610d35 ]
The function lan87xx_config_aneg_ext was introduced to configure
LAN95xxA but as well writes to undocumented register of LAN87xx.
This fix prevents that access.
The function lan87xx_config_aneg_ext gets more suitable for the new
behavior name.
Reported-by: Måns Rullgård <mans@mansr.com>
Fixes: 05b35e7eb9a1 ("smsc95xx: add phylib support")
Signed-off-by: Andre Edich <andre.edich@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions