Files
linux/drivers/net/ethernet
Liu Peibao 25baddfab3 stmmac: dwmac-loongson: fix invalid mdio_node
[ Upstream commit 2ae34111fe ]

In current code "plat->mdio_node" is always NULL, the mdio
support is lost as there is no "mdio_bus_data". The original
driver could work as the "mdio" variable is never set to
false, which is described in commit <b0e03950dd71> ("stmmac:
dwmac-loongson: fix uninitialized variable ......"). And
after this commit merged, the "mdio" variable is always
false, causing the mdio supoort logic lost.

Fixes: 30bba69d7d ("stmmac: pci: Add dwmac support for Loongson")
Signed-off-by: Liu Peibao <liupeibao@loongson.cn>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221101060218.16453-1-liupeibao@loongson.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-10 18:17:21 +01:00
..
2022-03-04 12:02:19 +00:00
2022-03-04 12:02:19 +00:00
2022-11-10 18:17:21 +01:00
2022-07-05 15:26:31 -07:00
2022-03-04 12:02:19 +00:00
2022-05-05 15:53:28 -07:00
2022-05-05 15:53:28 -07:00