]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
platform/x86: intel-hid: Add missing ->thaw callback
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Apr 2017 13:49:06 +0000 (15:49 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 18 Apr 2017 16:04:03 +0000 (09:04 -0700)
commitb899830506740faf509f3bb51d3d1e50102aed40
tree75ebb35186ec438b71b8c8f25121e6989f45aef9
parent1cd706df8a9c93f4c7234f285e316a239d6d27ea
platform/x86: intel-hid: Add missing ->thaw callback

The intel-hid driver is missing a PM ->thaw callback allowing the
device to go back to the operational state after creating a
hibernation image or when there is an image restoration error during
resume.

The lack of the ->thaw callback basically means that all events
signaled by the device are discarded after a hibernation image has
been created which may be problematic, for example, if the image
cannot be saved (eg. due to an I/O issue with storage).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/intel-hid.c