android_kernel_xiaomi_sm8350/arch/mips
Serge Semin 9bf52411ee MIPS: Loongson32: Fix PHY-mode being left unspecified
[ Upstream commit e9f3f8f488005f6da3cfb66070706770ecaef747 ]

commit 0060c87833 ("net: stmmac: implement support for passive mode
converters via dt") has changed the plat->interface field semantics from
containing the PHY-mode to specifying the MAC-PCS interface mode. Due to
that the loongson32 platform code will leave the phylink interface
uninitialized with the PHY-mode intended by the means of the actual
platform setup. The commit-author most likely has just missed the
arch-specific code to fix. Let's mend the Loongson32 platform code then by
assigning the PHY-mode to the phy_interface field of the STMMAC platform
data.

Fixes: 0060c87833 ("net: stmmac: implement support for passive mode converters via dt")
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
Tested-by: Keguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-28 11:04:06 +02:00
..
alchemy
ar7
ath25
ath79
bcm47xx
bcm63xx
bmips MIPS: Use address-of operator on section symbols 2022-05-15 19:54:46 +02:00
boot
cavium-octeon MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping() 2022-09-28 11:03:59 +02:00
cobalt
configs
crypto
dec mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n 2022-04-15 14:18:15 +02:00
emma
fw
generic
include mips: use fallback for random_get_entropy() instead of just c0 random 2022-06-22 14:11:15 +02:00
jazz
jz4740 MIPS: fix build with gcc-12 2022-05-18 09:47:28 +02:00
kernel MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2022-08-25 11:17:26 +02:00
kvm
lantiq MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko 2022-09-28 11:04:06 +02:00
lasat
lib
loongson32 MIPS: Loongson32: Fix PHY-mode being left unspecified 2022-09-28 11:04:06 +02:00
loongson64
math-emu
mm MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 2022-08-25 11:18:39 +02:00
mti-malta
net
netlogic
oprofile
paravirt
pci
pic32 MIPS: Use address-of operator on section symbols 2022-05-15 19:54:46 +02:00
pistachio
pmcs-msp71xx
pnx833x
power
ralink MIPS: Use address-of operator on section symbols 2022-05-15 19:54:46 +02:00
rb532 MIPS: RB532: fix return value of __setup handler 2022-04-15 14:18:16 +02:00
sgi-ip22
sgi-ip27
sgi-ip32
sibyte
sni
tools
txx9
vdso
vr41xx MIPS: Remove repetitive increase irq_err_count 2022-06-29 08:58:46 +02:00
Kbuild
Kbuild.platforms
Kconfig
Kconfig.debug
Makefile
Makefile.postlink