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

2015-01-07 Thread Linus Walleij
On Tue, Dec 16, 2014 at 4:57 PM, Octavian Purdila 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 > betwe

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

2014-12-16 Thread Alexandre Courbot
On Wed, Dec 17, 2014 at 12:57 AM, Octavian Purdila 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 > betwe

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

2014-12-16 Thread Octavian Purdila
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 sc