]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
platform/x86: intel_mid_powerbtn: Acknowledge interrupts
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2017 16:39:45 +0000 (18:39 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 4 Feb 2017 01:47:23 +0000 (02:47 +0100)
Some platforms require interrupt to be acknowledged by clearing
MSIC_PWRBTNM bit in interrupt level 1 mask register.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_mid_powerbtn.c

index 596ac9f3e89d0166e104bb3ba417fbf92ab68909..ac02a0b8bef37b660862091c4569bd4271ff4c3d 100644 (file)
@@ -94,6 +94,7 @@ static irqreturn_t mid_pb_isr(int irq, void *dev_id)
                input_sync(input);
        }
 
+       ddata->ack(ddata);
        return IRQ_HANDLED;
 }