Searched hist:"7 d6f065de37c31c37e56611efd41260c66c868ca" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | diff 7d6f065de37c31c37e56611efd41260c66c868ca Tue Apr 30 01:33:15 CEST 2024 Kenny Levinsen <kl@kl.wtf> HID: i2c-hid: Use address probe to wake on resume
Certain devices, both from STM and Weida Tech, need to be woken up after having entered a deeper sleep state. The relevant places to wake up such device is during our initial HID probe, and after resuming.
A retry for power commands was previously added to i2c_hid_set_power to wake up Weida Tech devices, but lacked sufficient sleep for STM devices. Replace the power command retry with the same address probe we using during our initial HID probe.
Signed-off-by: Kenny Levinsen <kl@kl.wtf> Signed-off-by: Jiri Kosina <jkosina@suse.com>
|