Skip to content

Commit 43985a6

Browse files
DragonBlueptsbogend
authored andcommitted
mips: ralink: update CPU clock index
Update CPU clock index to match the clock driver changes. Fixes: d34db68 ("clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs") Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 35d8945 commit 43985a6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/mips/ralink/clk.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ static const char *clk_cpu(int *idx)
2121
{
2222
switch (ralink_soc) {
2323
case RT2880_SOC:
24-
*idx = 0;
24+
*idx = 1;
2525
return "ralink,rt2880-sysc";
2626
case RT3883_SOC:
27-
*idx = 0;
27+
*idx = 1;
2828
return "ralink,rt3883-sysc";
2929
case RT305X_SOC_RT3050:
30-
*idx = 0;
30+
*idx = 1;
3131
return "ralink,rt3050-sysc";
3232
case RT305X_SOC_RT3052:
33-
*idx = 0;
33+
*idx = 1;
3434
return "ralink,rt3052-sysc";
3535
case RT305X_SOC_RT3350:
3636
*idx = 1;

0 commit comments

Comments
 (0)