Bartłomiej Maryńczak
293c485cba
HID: i2c-hid: Delayed i2c resume wakeup for 0x0d42 Goodix touchpad
...
Patch for Goodix 27c6:0d42 touchpads found in Inspiron 5515 laptops.
After resume from suspend, one can communicate with this device just fine.
We can read data from it or request a reset,
but for some reason the interrupt line will not go up
when new events are available.
(it can correctly respond to a reset with an interrupt tho)
The only way I found to wake this device up
is to send anything to it after ~1.5s mark,
for example a simple read request, or power mode change.
In this patch, I simply delay the resume steps with msleep,
this will cause the set_power request to happen after
the ~1.5s barrier causing the device to resume its event interrupts.
Sleep was used rather than delayed_work
to make this workaround as non-invasive as possible.
[jkosina@suse.com: shortlog update]
Signed-off-by: Bartłomiej Maryńczak <marynczakbartlomiej@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2024-10-18 12:32:06 +02:00
..
2024-06-28 09:41:04 +10:00
2024-08-12 18:36:44 +09:00
2024-09-16 08:05:54 +02:00
2024-09-04 15:01:17 +01:00
2024-09-03 12:18:46 +02:00
2024-08-27 06:54:36 +09:00
2024-08-12 10:41:44 +01:00
2024-07-26 11:04:28 -07:00
2024-09-18 10:49:45 +02:00
2024-07-03 15:16:54 +02:00
2024-09-16 13:33:06 +02:00
2024-09-12 17:32:42 -04:00
2024-09-17 10:48:09 +02:00
2024-08-01 07:15:02 -07:00
2024-07-24 20:59:29 +02:00
2024-07-03 15:16:54 +02:00
2024-09-19 09:38:34 +02:00
2024-09-09 14:06:07 -07:00
2024-09-17 15:27:01 +02:00
2024-07-19 15:55:08 -07:00
2024-09-11 18:22:23 +02:00
2024-09-18 10:49:45 +02:00
2024-09-13 18:26:53 +08:00
2024-08-09 15:13:07 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-09-05 01:23:56 +09:00
2024-07-10 15:38:14 +02:00
2024-09-18 15:03:58 +02:00
2024-09-17 07:25:37 +02:00
2024-08-26 19:21:14 -07:00
2024-09-16 06:36:37 +02:00
2024-07-03 15:16:54 +02:00
2024-09-18 10:24:22 +02:00
2024-07-25 10:42:22 -07:00
2024-09-17 10:48:09 +02:00
2024-07-25 10:42:22 -07:00
2024-07-31 13:40:00 +02:00
2024-09-18 10:43:07 +02:00
2024-09-17 17:03:43 +02:00
2024-07-25 10:42:22 -07:00
2024-10-18 12:32:06 +02:00
2024-08-27 15:28:56 +02:00
2024-09-19 08:15:30 +02:00
2024-09-19 09:16:04 +02:00
2024-07-25 10:42:22 -07:00
2024-08-15 00:22:28 +02:00
2024-07-27 10:53:06 -07:00
2024-08-20 21:27:43 +02:00
2024-08-17 15:31:41 +01:00
2024-07-19 09:59:58 -07:00
2024-09-17 10:48:09 +02:00
2024-07-19 15:55:08 -07:00
2024-09-18 15:03:58 +02:00
2024-07-03 15:16:54 +02:00
2024-09-17 07:09:17 +02:00
2024-09-08 20:47:40 +02:00
2024-07-17 17:51:30 -07:00
2024-09-05 22:30:18 +10:00
2024-07-19 21:25:23 -05:00
2024-07-25 10:42:22 -07:00
2024-09-16 18:19:47 +02:00
2024-09-18 12:12:41 +02:00
2024-08-31 07:44:24 +02:00
2024-07-25 10:42:22 -07:00
2024-09-19 09:16:04 +02:00
2024-09-18 10:36:30 +02:00
2024-09-13 14:09:29 +02:00
2024-07-25 10:42:22 -07:00
2024-09-15 12:38:22 +02:00
2024-09-17 07:25:37 +02:00
2024-08-29 11:49:10 -07:00
2024-07-25 10:42:22 -07:00
2024-08-09 14:29:58 -05:00
2024-09-16 13:33:06 +02:00
2024-09-03 12:20:41 +02:00
2024-09-19 08:38:51 +02:00
2024-09-11 19:02:23 +02:00
2024-09-09 08:53:17 +02:00
2024-07-25 12:58:36 -07:00
2024-09-18 12:45:52 +02:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-09-16 06:55:07 +02:00
2024-09-18 10:24:22 +02:00
2024-09-13 13:14:18 +02:00
2024-09-19 09:16:04 +02:00
2024-09-13 13:41:33 +02:00
2024-07-03 15:16:54 +02:00
2024-09-18 10:46:27 +02:00
2024-08-23 15:45:17 +02:00
2024-07-25 10:42:22 -07:00
2024-09-09 17:44:42 -07:00
2024-09-16 15:24:59 +02:00
2024-07-03 15:16:54 +02:00
2024-08-01 14:36:29 +02:00
2024-09-13 19:08:14 +01:00
2024-07-23 13:41:59 -07:00
2024-09-02 12:12:41 +02:00
2024-07-25 10:42:22 -07:00
2024-08-28 21:54:51 +01:00
2024-09-16 09:14:02 +02:00
2024-07-11 15:42:03 +02:00
2024-09-05 20:37:20 -07:00
2024-07-03 15:16:54 +02:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-09-17 10:48:09 +02:00
2024-09-11 13:05:43 +05:30
2024-09-17 10:31:31 +02:00
2024-07-31 13:49:28 +02:00
2024-07-03 15:16:54 +02:00
2024-09-12 17:11:24 -07:00
2024-07-03 15:16:54 +02:00
2024-09-09 12:22:06 +02:00
2024-09-10 10:54:15 +02:00
2024-08-06 08:01:10 +03:00
2024-09-17 08:52:28 +02:00
2024-08-28 21:29:20 -04:00
2024-09-03 12:37:38 +02:00
2024-09-19 09:16:04 +02:00
2024-07-29 12:53:37 -07:00
2024-07-25 10:42:22 -07:00
2024-08-08 14:04:17 -07:00
2024-09-18 12:53:22 +02:00
2024-09-16 06:55:07 +02:00
2024-08-15 19:14:19 -07:00
2024-09-11 14:26:08 +02:00
2024-09-17 08:53:17 +02:00
2024-07-25 10:42:22 -07:00