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

Commit 57879b8c authored by Marek Vasut's avatar Marek Vasut Committed by Eric Miao
Browse files

ARM: pxa: use cpu_has_ipr() consistently in irq.c

parent b6aec3a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ static int pxa_irq_resume(struct sys_device *dev)
		__raw_writel(0, base + ICLR);
	}

	if (!cpu_is_pxa25x())
	if (cpu_has_ipr())
		for (i = 0; i < pxa_internal_irq_nr; i++)
			__raw_writel(saved_ipr[i], IRQ_BASE + IPR(i));