platform/x86: intel_int0002_vgpio: Only implement irq_set_wake on Bay Trail
authorHans de Goede <hdegoede@redhat.com>
Sun, 3 Feb 2019 09:42:33 +0000 (10:42 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 Feb 2019 18:28:54 +0000 (20:28 +0200)
commit871f1f2bcb01d205472ddac70d38e8b08e902f15
tree935e7c8c6113aa0a2223cb97f88c60fca3f585af
parent0bbbe97f2f851138891148a99400109da956c694
platform/x86: intel_int0002_vgpio: Only implement irq_set_wake on Bay Trail

Commit c3b8e884defa ("platform/x86: intel_int0002_vgpio: Implement irq_set_wake"),
was written to fix some wakeup issues on Bay Trail (BYT) devices.

We've received a bug report that this causes a suspend regression on some
Cherry Trail (CHT) based devices.

To fix the issues this causes on CHT devices, this commit modifies the
irq_set_wake support so that we only implement irq_set_wake on BYT devices,

Fixes: c3b8e884defa ("platform/x86: intel_int0002_vgpio: ... irq_set_wake")
Reported-and-tested-by: Maxim Mikityanskiy <maxtram95@gmail.com>
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