Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: ralink: MT7621 does not set its SoC type.

The code does not set the SoC type properly. This went unnoticed until now
as the SoC does not share any of the driver code with the other SoCs, until
we made the mmc driver work.

Signed-off-by: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14896/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

John Crispin and committed by
Ralf Baechle
4f79ddec ef462f3b

+1 -1
+1 -1
arch/mips/ralink/mt7621.c
··· 181 181 } else { 182 182 panic("mt7621: unknown SoC, n0:%08x n1:%08x\n", n0, n1); 183 183 } 184 - 184 + ralink_soc = MT762X_SOC_MT7621AT; 185 185 rev = __raw_readl(sysc + SYSC_REG_CHIP_REV); 186 186 187 187 snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,