Maxim Levitsky
d1ef7a9ca8
i2c: i801: Fix a refactoring that broke a touchpad on Lenovo P1
...
Commit 857cc04cdf50 ("i2c: i801: Add helper i801_get_block_len")
introduced a slight functional change: the status variable is now
overwritten with the length of an SMBUS tranasaction,
even in case of success.
This breaks the touchpad on at least my Lenovo P1:
rmi4_physical rmi4-00: Read PDT entry at 0x00e9 failed, code: -6.
rmi4_physical rmi4-00: RMI initial reset failed! Continuing in spite of this.
rmi4_physical rmi4-00: Read PDT entry at 0x00e9 failed, code: -6.
rmi4_physical rmi4-00: IRQ counting failed with code -6.
Fixes: 857cc04cdf50 ("i2c: i801: Add helper i801_get_block_len")
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2024-03-26 00:47:08 +01:00
..
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2023-06-05 09:47:37 +02:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2022-11-01 13:41:22 +01:00
2023-06-05 09:47:37 +02:00
2022-11-01 13:41:22 +01:00
2024-03-08 10:10:27 +01:00
2023-10-21 20:45:29 +02:00
2023-08-26 00:18:39 +02:00
2020-11-03 21:34:40 +01:00
2023-08-08 15:36:48 +02:00
2023-10-28 14:34:53 +02:00
2023-08-14 17:47:21 +02:00
2023-11-08 10:16:35 +01:00
2023-06-05 09:47:37 +02:00
2023-10-11 18:35:26 +02:00
2024-03-04 23:38:23 +01:00
2023-06-05 09:47:37 +02:00
2022-02-15 10:04:53 +01:00
2022-02-15 10:04:53 +01:00
2023-06-05 09:47:37 +02:00
2023-11-08 10:27:17 +01:00
2024-01-18 21:10:42 +01:00
2023-06-05 09:47:37 +02:00
2023-08-14 17:47:21 +02:00
2023-04-20 18:20:05 +08:00
2022-02-11 15:38:23 +01:00
2024-02-27 01:51:33 +01:00
2024-02-27 01:51:35 +01:00
2024-02-27 01:51:35 +01:00
2024-02-27 01:51:32 +01:00
2024-02-27 01:51:32 +01:00
2023-06-05 11:58:20 +02:00
2023-06-05 09:47:37 +02:00
2020-03-24 22:36:59 +01:00
2023-08-10 10:13:40 +02:00
2022-08-11 23:02:51 +02:00
2024-01-18 21:10:41 +01:00
2023-08-14 17:47:21 +02:00
2023-10-23 17:11:40 +02:00
2020-07-24 21:31:33 +02:00
2024-01-18 21:10:41 +01:00
2023-08-14 17:47:21 +02:00
2023-06-05 09:47:37 +02:00
2024-02-08 09:34:19 +01:00
2023-08-08 15:36:48 +02:00
2024-03-26 00:47:08 +01:00
2024-01-18 21:10:41 +01:00
2022-08-11 23:02:51 +02:00
2023-08-08 15:36:49 +02:00
2024-03-06 16:32:38 +01:00
2024-03-15 12:09:49 -07:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2022-12-07 21:27:08 +01:00
2023-08-14 17:47:21 +02:00
2024-01-18 21:10:41 +01:00
2023-10-11 11:33:37 +02:00
2023-08-14 17:47:21 +02:00
2023-02-02 22:23:59 +01:00
2023-06-05 10:43:45 +02:00
2023-08-14 17:47:21 +02:00
2023-08-08 15:36:55 +02:00
2023-08-14 18:09:44 +02:00
2024-01-18 21:10:41 +01:00
2024-03-04 23:36:31 +01:00
2023-09-19 22:00:22 +02:00
2023-08-14 17:47:21 +02:00
2023-10-10 21:41:14 +02:00
2023-08-14 17:47:21 +02:00
2024-01-18 21:10:41 +01:00
2024-03-12 11:50:45 +01:00
2024-02-14 22:51:54 +01:00
2023-06-14 10:47:11 +02:00
2023-11-13 12:43:42 -05:00
2021-01-17 12:26:55 +01:00
2023-06-05 09:47:37 +02:00
2023-10-10 21:41:14 +02:00
2023-06-05 09:47:37 +02:00
2023-08-14 17:47:21 +02:00
2022-08-11 23:02:51 +02:00
2024-02-14 22:15:07 +01:00
2022-11-12 21:30:16 +01:00
2024-01-18 21:10:41 +01:00
2023-06-23 11:56:34 +02:00
2021-01-26 07:42:27 +01:00
2023-08-14 17:47:21 +02:00
2024-01-18 21:10:41 +01:00
2023-08-14 18:10:14 +02:00
2023-09-22 12:12:07 +02:00
2023-08-14 17:47:21 +02:00
2023-11-12 20:52:29 -05:00
2023-08-25 22:07:10 +02:00
2024-02-12 17:04:32 +01:00
2023-08-08 15:36:50 +02:00
2024-01-18 21:10:42 +01:00
2023-09-19 11:11:09 +02:00
2024-01-18 17:29:01 -08:00
2021-06-24 22:08:00 +02:00
2023-06-05 12:03:35 +02:00
2024-01-18 21:10:42 +01:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2024-02-08 09:34:17 +01:00
2024-01-18 21:10:41 +01:00
2023-06-05 09:47:37 +02:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2024-03-08 08:02:47 +01:00
2023-08-14 18:09:57 +02:00
2020-09-21 11:45:43 +02:00
2023-10-23 17:29:34 +02:00
2024-01-18 21:10:44 +01:00
2023-10-29 20:30:07 +01:00
2023-08-10 10:13:57 +02:00
2022-08-11 23:02:51 +02:00
2023-08-14 17:47:21 +02:00
2023-09-04 13:44:11 -07:00
2022-05-21 13:41:28 +02:00
2023-08-14 15:14:42 +02:00
2023-06-23 12:22:34 +02:00
2023-06-23 12:22:41 +02:00
2023-06-14 10:40:09 +02:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2023-06-05 09:47:37 +02:00
2023-08-08 15:36:53 +02:00
2024-03-08 10:10:26 +01:00
2023-09-29 11:55:21 +01:00
2023-09-22 12:04:39 +02:00
2023-08-10 10:12:55 +02:00
2024-03-06 16:32:38 +01:00
2024-02-14 22:15:07 +01:00
2024-01-18 21:10:41 +01:00