Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ba8bc60 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by Ralf Baechle
Browse files

[MIPS] IP22: Fix wrong check for second HPC



Wrong check for the second hpc on fullhouse machines, caused DBEs on
SGI Indys

Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 98f90854
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -150,8 +150,8 @@ static int __init sgiseeq_devinit(void)
		return res;

	/* Second HPC is missing? */
	if (ip22_is_fullhouse() ||
	    !get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
	if (!ip22_is_fullhouse() ||
	    get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
		return 0;

	sgimc->giopar |= SGIMC_GIOPAR_MASTEREXP1 | SGIMC_GIOPAR_EXP164 |