]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/x86: intel_int0002_vgpio: Implement irq_set_wake
authorHans de Goede <hdegoede@redhat.com>
Mon, 24 Sep 2018 14:37:19 +0000 (16:37 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 27 Sep 2018 08:45:29 +0000 (11:45 +0300)
commitc3b8e884defae3ad50956ee77bdba3638fe4852f
tree1e55509fa06041c9a1e2d802aa80cbd4c41ef866
parent96402de65afcd9d7f12e04bf8a14d5a321aca4af
platform/x86: intel_int0002_vgpio: Implement irq_set_wake

We were relying on the interrupt being shared with the ACPI SCI and the
ACPI core calling irq_set_wake. But that does not always happen on
Bay Trail devices, so we should do it ourselves.

This fixes wake from USB not working on various Bay Trail devices.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_int0002_vgpio.c