Skip to content
Commit e87d3a13 authored by Yanteng Si's avatar Yanteng Si Committed by David S. Miller
Browse files

stmmac: dwmac-loongson: Make sure MDIO is initialized before use



Generic code will use mdio. If it is not initialized before use,
the kernel will Oops.

Fixes: 30bba69d ("stmmac: pci: Add dwmac support for Loongson")
Signed-off-by: default avatarYanteng Si <siyanteng@loongson.cn>
Signed-off-by: default avatarFeiyang Chen <chenfeiyang@loongson.cn>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3f32a35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment