Files
linux/drivers
Christian Lamparter 54a2df8b04 net: dsa: qca8k: remove leftover phy accessors
commit 1eec7151ae upstream.

This belated patch implements Andrew Lunn's request of
"remove the phy_read() and phy_write() functions."
<https://lore.kernel.org/patchwork/comment/902734/>

While seemingly harmless, this causes the switch's user
port PHYs to get registered twice. This is because the
DSA subsystem will create a slave mdio-bus not knowing
that the qca8k_phy_(read|write) accessors operate on
the external mdio-bus. So the same "bus" gets effectively
duplicated.

Cc: stable@vger.kernel.org
Fixes: 6b93fb4648 ("net-next: dsa: add new driver for qca8xxx family")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 12:12:22 +09:00
..
2023-05-12 16:27:16 +09:00
2023-05-15 11:22:47 +09:00
2023-05-15 11:23:33 +09:00
2023-05-15 12:06:17 +09:00
2023-05-15 10:39:04 +09:00
2018-02-25 11:05:55 +01:00
2017-09-09 17:39:41 +02:00
2018-05-25 17:06:35 +02:00
2023-05-15 12:06:47 +09:00
2023-05-15 10:37:00 +09:00
2023-05-15 09:23:01 +09:00
2023-05-15 09:51:46 +09:00
2023-05-15 11:50:48 +09:00
2023-05-15 08:28:33 +09:00