forked from luck/tmp_suning_uos_patched
ARM: pxa: use cpu_has_ipr() consistently in irq.c
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
b6aec3a5d6
commit
57879b8c40
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user