diff options
Diffstat (limited to 'arch/arm/mach-pxa/irq.c')
-rw-r--r-- | arch/arm/mach-pxa/irq.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index f6e0300e4f64..d694ce289668 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c | |||
@@ -120,7 +120,7 @@ static void __init pxa_init_low_gpio_irq(set_wake_t fn) | |||
120 | 120 | ||
121 | void __init pxa_init_irq(int irq_nr, set_wake_t fn) | 121 | void __init pxa_init_irq(int irq_nr, set_wake_t fn) |
122 | { | 122 | { |
123 | int irq; | 123 | int irq, i; |
124 | 124 | ||
125 | pxa_internal_irq_nr = irq_nr; | 125 | pxa_internal_irq_nr = irq_nr; |
126 | 126 | ||
@@ -129,6 +129,12 @@ void __init pxa_init_irq(int irq_nr, set_wake_t fn) | |||
129 | _ICLR(irq) = 0; /* all IRQs are IRQ, not FIQ */ | 129 | _ICLR(irq) = 0; /* all IRQs are IRQ, not FIQ */ |
130 | } | 130 | } |
131 | 131 | ||
132 | /* initialize interrupt priority */ | ||
133 | if (cpu_is_pxa27x() || cpu_is_pxa3xx()) { | ||
134 | for (i = 0; i < irq_nr; i++) | ||
135 | IPR(i) = i | (1 << 31); | ||
136 | } | ||
137 | |||
132 | /* only unmasked interrupts kick us out of idle */ | 138 | /* only unmasked interrupts kick us out of idle */ |
133 | ICCR = 1; | 139 | ICCR = 1; |
134 | 140 | ||