]> www.infradead.org Git - users/hch/misc.git/commit
HID: Intel-thc-hid: Intel-quickspi: Correct device state after S4
authorEven Xu <even.xu@intel.com>
Tue, 4 Mar 2025 03:22:55 +0000 (11:22 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 4 Mar 2025 20:54:30 +0000 (21:54 +0100)
commitdb52926fb0be40e1d588a346df73f5ea3a34a4c6
treef7b39e17ad2d11c0db49382562448e00af21a9a8
parent0132c406705a466b95854ce1058f3d8354f90a42
HID: Intel-thc-hid: Intel-quickspi: Correct device state after S4

During S4 retore flow, quickspi device was resetted by driver and state
was changed to RESETTED. It is needed to be change to ENABLED state
after S4 re-initialization finished, otherwise, device will run in wrong
state and HID input data will be dropped.

Signed-off-by: Even Xu <even.xu@intel.com>
Fixes: 6912aaf3fd24 ("HID: intel-thc-hid: intel-quickspi: Add PM implementation")
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c