diff options
author | Yanteng Si | 2023-12-11 18:33:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-12-20 17:00:18 +0100 |
commit | 918991db7de041e29c69fd377a411c5637a224cd (patch) | |
tree | 64898a158806180826234f22f1e2e053c7f38fe7 /mm/workingset.c | |
parent | 63387fe87fc5a429175a2f0dda426f650666b7c5 (diff) |
stmmac: dwmac-loongson: Make sure MDIO is initialized before use
[ Upstream commit e87d3a1370ce9f04770d789bcf7cce44865d2e8d ]
Generic code will use mdio. If it is not initialized before use,
the kernel will Oops.
Fixes: 30bba69d7db4 ("stmmac: pci: Add dwmac support for Loongson")
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Signed-off-by: Feiyang Chen <chenfeiyang@loongson.cn>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions