summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-08-23 20:48:15 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-09-07 21:16:09 +0300
commit0ecee9e3d42231e5641671c5b6b1127d3efff1d4 (patch)
treee68d7b2056e403642ac4350a7b3240657b7fe903 /tools/power
parent1bd43d0077b9a32a8b8059036471f3fc82dae342 (diff)
downloadlinux-0ecee9e3d42231e5641671c5b6b1127d3efff1d4.tar.xz
platform/x86: intel_int0002_vgpio: Use device_init_wakeup
Use device_init_wakeup and pm_wakeup_hard_event instead of directly calling pm_system_wakeup(). This is the preferred way to do this and this will allow the user to disable wakeup through INT0002 events through sysfs. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions