]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel-vbtn: Reset wakeup capable flag on removal
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Feb 2018 11:09:56 +0000 (12:09 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Mar 2018 11:08:25 +0000 (13:08 +0200)
commit4d020525316d9a75fd05eed5968424e7f2e65b0c
tree0543f7c0fdd17470a372492f4c35eb57f7fa30d7
parent7070e94741f2e678c9c835529ad0f7bc0857ef7c
platform/x86: intel-vbtn: Reset wakeup capable flag on removal

The intel-vbtn device will not be able to wake up the system any more
after removing the notify handler provided by its driver, so make
its sysfs attributes reflect that.

Fixes: f308290ad3be (platform: x86: intel-vbtn: Wake up the system from suspend-to-idle)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel-vbtn.c