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

The intel-hid 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: c5ecce3df3c7 (platform: x86: intel-hid: 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-hid.c