]> 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)
commitef3184e8b39e6e93c9910b3f43c36014b65de3ce
tree0543f7c0fdd17470a372492f4c35eb57f7fa30d7
parentbaa6161866255eab62d6350f020a55f72cb8b754
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: d793746b4f68 (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