diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-08-23 19:48:14 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-09-07 21:16:09 +0300 |
commit | 1bd43d0077b9a32a8b8059036471f3fc82dae342 (patch) | |
tree | 060a8e92b17158f4ba1350abd091552bac699af5 /drivers/ide/pmac.c | |
parent | 09e7f2805c352dc38d13f663613663574a0584ad (diff) |
platform/x86: intel_int0002_vgpio: Fix wakeups not working on Cherry Trail
Commit 871f1f2bcb01 ("platform/x86: intel_int0002_vgpio: Only implement
irq_set_wake on Bay Trail") removed the irq_set_wake method from the
struct irq_chip used on Cherry Trail, but it did not set
IRQCHIP_SKIP_SET_WAKE causing kernel/irq/manage.c: set_irq_wake_real()
to return -ENXIO.
This causes the kernel to no longer see PME events reported through the
INT0002 device as wakeup events. Which e.g. breaks wakeup by the (USB)
keyboard on many Cherry Trail 2-in-1 devices.
Cc: stable@vger.kernel.org
Fixes: 871f1f2bcb01 ("platform/x86: intel_int0002_vgpio: Only implement irq_set_wake on Bay Trail")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/ide/pmac.c')
0 files changed, 0 insertions, 0 deletions