]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: Intel-thc-hid: Intel-quicki2c: Enhance QuickI2C reset flow
authorEven Xu <even.xu@intel.com>
Wed, 14 May 2025 06:26:38 +0000 (14:26 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 10 Jun 2025 19:17:53 +0000 (21:17 +0200)
commit73f3a7415d93cf418c7625d03bce72da84344406
treec675dead811a6fc6091769fa126fd0ebd4fa2406
parent4a0381080397e77792a5168069f174d3e56175ff
HID: Intel-thc-hid: Intel-quicki2c: Enhance QuickI2C reset flow

During customer board enabling, it was found: some touch devices
prepared reset response, but either forgot sending interrupt or
THC missed reset interrupt because of timing issue. THC QuickI2C
driver depends on interrupt to read reset response, in this case,
it will cause driver waiting timeout.

This patch enhances the flow by adding manually reset response
reading after waiting for reset interrupt timeout.

Signed-off-by: Even Xu <even.xu@intel.com>
Tested-by: Chong Han <chong.han@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/quicki2c-protocol.c