Re: [PATCH 1/3] gpio: dln2: fix issue when an IRQ is unmasked then enabled

From: Linus Walleij
Date: Wed Dec 31 2014 - 15:55:23 EST

On Thu, Dec 11, 2014 at 2:02 PM, Octavian Purdila
<octavian.purdila@xxxxxxxxx> wrote:

> As noticed during suspend/resume operations, the IRQ can be unmasked
> then disabled in suspend and eventually enabled in resume, but without
> being unmasked.
> The current implementation does not take into account interactions
> between mask/unmask and enable/disable interrupts, and thus in the
> above scenarios the IRQs remain unactive.
> To fix this we removed the enable/disable operations as they fallback
> to mask/unmask anyway.
> We also remove the pending bitmaks as it is already done in irq_data
> (i.e. IRQS_PENDING).
> Signed-off-by: Octavian Purdila <octavian.purdila@xxxxxxxxx>

Patch applied for fixes.

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at