platform: x86: intel-vbtn: Wake up the system from suspend-to-idle
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Jun 2017 00:15:52 +0000 (02:15 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jun 2017 00:09:31 +0000 (02:09 +0200)
commit91f9e850d465147197280cbeaf51d3fb51f61ca0
treedc09403948076f4f0eb0ab1e4365d1d945eaf89a
parentd07ff6523b1ed24d636365f8479b0db70946dc14
platform: x86: intel-vbtn: Wake up the system from suspend-to-idle

Allow the intel-vbtn driver to wake up the system from suspend-to-idle
by configuring its platform device as a wakeup one by default and
switching it over to a system wakeup events triggering mode during
system suspend transitions.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel-vbtn.c