mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
stmmac: dwmac-loongson: Make sure MDIO is initialized before use
[ Upstream commite87d3a1370] Generic code will use mdio. If it is not initialized before use, the kernel will Oops. Fixes:30bba69d7d("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>
This commit is contained in:
parent
63387fe87f
commit
918991db7d
1 changed files with 6 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue