summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2014-12-16 18:57:12 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-01-07 12:37:44 +0300
commit0acb0e712b57b4bcabc5fdcb3e445cfce0f80340 (patch)
tree45b7f1382025d6f175c1d2134e1f6b32d148ba28 /Documentation
parentb7392d2247cfe6771f95d256374f1a8e6a6f48d6 (diff)
downloadlinux-0acb0e712b57b4bcabc5fdcb3e445cfce0f80340.tar.xz
gpio: dln2: fix issue when an IRQ is unmasked then enabled
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@intel.com> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions