]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
HID: intel-thc-hid: Intel-quicki2c: Enhance driver re-install flow
authorEven Xu <even.xu@intel.com>
Wed, 6 Aug 2025 00:23:32 +0000 (08:23 +0800)
committerJiri Kosina <jkosina@suse.com>
Wed, 13 Aug 2025 11:55:38 +0000 (13:55 +0200)
commitafa17a09c699410113199dc15256c6ea2b4133f7
tree71f4d85673628742752674e0c1d90b6b2328a459
parent185c926283da67a72df20a63a5046b3b4631b7d9
HID: intel-thc-hid: Intel-quicki2c: Enhance driver re-install flow

After driver module is removed and during re-install stage, if there
is continueous user touching on the screen, it is a risk impacting
THC hardware initialization which causes driver installation failure.

This patch enhances this flow by quiescing the external touch
interrupt after driver is removed which keeps THC hardware
ignore external interrupt during this remove and re-install stage.

Signed-off-by: Even Xu <even.xu@intel.com>
Tested-by: Rui Zhang <rui1.zhang@intel.com>
Fixes: 66b59bfce6d9 ("HID: intel-thc-hid: intel-quicki2c: Complete THC QuickI2C driver")
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c