mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
m68knommu: 5772: Replace private irq flow handler
That handler lacks the minimal checks for action being zero etc. Keep the weird flow - ack before handling - intact and call into handle_simple_irq which does the right thing. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Greg Ungerer <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Greg Ungerer <[email protected]>
This commit is contained in:
parent
521cb40b0c
commit
e6988f2f53
1 changed files with 1 additions and 4 deletions
|
|
@ -137,11 +137,8 @@ static int intc_irq_set_type(unsigned int irq, unsigned int type)
|
|||
*/
|
||||
static void intc_external_irq(unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
kstat_incr_irqs_this_cpu(irq, desc);
|
||||
desc->status |= IRQ_INPROGRESS;
|
||||
desc->chip->ack(irq);
|
||||
handle_IRQ_event(irq, desc->action);
|
||||
desc->status &= ~IRQ_INPROGRESS;
|
||||
handle_simple_irq(irq, desc);
|
||||
}
|
||||
|
||||
static struct irq_chip intc_irq_chip = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue