diff options
author | Liu Peibao | 2022-11-01 14:02:18 +0800 |
---|---|---|
committer | Jakub Kicinski | 2022-11-02 20:30:51 -0700 |
commit | 2ae34111fe4eebb69986f6490015b57c88804373 (patch) | |
tree | 8f5b806446639b0355b1a3313e7a6d007c847fd7 /drivers/ipack | |
parent | d6dd2fe71153f0ff748bf188bd4af076fe09a0a6 (diff) |
stmmac: dwmac-loongson: fix invalid mdio_node
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: 30bba69d7db4 ("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>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions