openwrt/target/linux/realtek/files-5.10
INAGAKI Hiroshi 2e676c05dc realtek: fix kernel panic in DSA driver for 5.10
dsa_to_port function in 5.10 returns dsa_port from the port list in
dsa_switch_tree, but the tree is built when the switch is registered
by dsa_register_switch and it's null in rtl83xx_mdio_probe.

So, we need to use dsa_to_port after the registration of the switch.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2021-09-26 00:32:18 +02:00
..
arch/mips realtek: remove unnecessary line from rtl838x/Platform in 5.10 2021-09-26 00:32:17 +02:00
drivers realtek: fix kernel panic in DSA driver for 5.10 2021-09-26 00:32:18 +02:00