]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: intel-thc-hid: Intel-quickspi: Improve power management for touch devices
authorEven Xu <even.xu@intel.com>
Wed, 18 Mar 2026 03:25:47 +0000 (11:25 +0800)
committerJiri Kosina <jkosina@suse.com>
Fri, 27 Mar 2026 12:30:40 +0000 (13:30 +0100)
commit4ba38ee380555a5aeb4291d5111faaf7852d63bd
treefcf0bde9ae07496aa2f6938116f4a72b157914ba
parentf0caa1d49cc07b30a7e2f104d3853ec6dc1c3cad
HID: intel-thc-hid: Intel-quickspi: Improve power management for touch devices

Enhance power management with two key improvements:
1. Hibernate support: Send POWER_OFF command when entering hibernate
   mode.
2. Conditional sleep commands: Only send POWER_SLEEP/POWER_ON commands
   during system suspend/resume when the touch device is not configured
   as a wake source, preserving Wake-on-Touch (WoT) functionality. This
   ensures proper power states while maintaining expected wake behavior.

Signed-off-by: Even Xu <even.xu@intel.com>
Tested-by: Rui Zhang <rui1.zhang@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c