OSDN Git Service

platform: x86: intel-hid: Wake up the system from suspend-to-idle
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Jun 2017 00:16:13 +0000 (02:16 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jun 2017 00:09:49 +0000 (02:09 +0200)
commitef884112e55c60d9e208b6524ae1841ae7e2fb2c
treed3af79fdd7c79955ead17f3734137f3083ec4848
parent91f9e850d465147197280cbeaf51d3fb51f61ca0
platform: x86: intel-hid: Wake up the system from suspend-to-idle

Allow the intel-hid 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-hid.c