Aleksa Savic
f1fa6e6f85
hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report
...
commit 56b930dcd88c2adc261410501c402c790980bdb5 upstream.
Add a 200ms delay after sending a ctrl report to Quadro,
Octo, D5 Next and Aquaero to give them enough time to
process the request and save the data to memory. Otherwise,
under heavier userspace loads where multiple sysfs entries
are usually set in quick succession, a new ctrl report could
be requested from the device while it's still processing the
previous one and fail with -EPIPE. The delay is only applied
if two ctrl report operations are near each other in time.
Reported by a user on Github [1] and tested by both of us.
[1] https://github.com/aleksamagicka/aquacomputer_d5next-hwmon/issues/82
Fixes: 752b927951ea ("hwmon: (aquacomputer_d5next) Add support for Aquacomputer Octo")
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Link: https://lore.kernel.org/r/20230807172004.456968-1-savicaleksa83@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
[ removed Aquaero support as it's not in 6.1 ]
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-30 16:11:10 +02:00
..
2022-10-08 08:56:37 -07:00
2023-04-20 12:35:11 +02:00
2023-08-16 18:27:22 +02:00
2022-09-25 14:22:11 -07:00
2022-09-25 14:22:11 -07:00
2022-10-04 19:02:54 -07:00
2021-10-12 07:22:41 -07:00
2021-10-12 07:22:41 -07:00
2022-10-04 19:02:54 -07:00
2022-02-09 13:00:45 +00:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2020-12-02 17:42:23 -08:00
2022-09-25 14:22:11 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-08-16 12:46:26 +02:00
2023-05-11 23:03:00 +09:00
2021-01-27 17:44:19 -08:00
2022-09-19 06:17:05 -07:00
2021-10-12 07:22:41 -07:00
2023-08-30 16:11:10 +02:00
2022-05-22 11:32:31 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-07-21 07:15:55 -07:00
2022-07-13 08:39:42 -07:00
2023-03-10 09:33:20 +01:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:11 -07:00
2022-05-22 11:32:30 -07:00
2020-10-04 08:40:10 -07:00
2023-03-10 09:33:59 +01:00
2021-05-17 19:50:23 -05:00
2022-10-22 06:59:12 -07:00
2021-02-11 20:28:56 -08:00
2022-09-19 06:17:05 -07:00
2022-10-04 19:02:54 -07:00
2022-07-13 08:39:42 -07:00
2021-10-12 07:22:41 -07:00
2021-10-12 07:22:41 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-12-31 13:32:23 +01:00
2021-10-12 07:22:41 -07:00
2023-07-19 16:21:19 +02:00
2022-10-04 19:02:54 -07:00
2021-08-17 14:54:26 -07:00
2022-10-04 19:02:54 -07:00
2023-03-10 09:33:10 +01:00
2021-10-12 07:22:41 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2023-07-19 16:21:26 +02:00
2023-03-30 12:49:13 +02:00
2022-11-20 06:04:16 -08:00
2022-07-01 11:53:29 -07:00
2022-11-20 06:04:16 -08:00
2020-12-02 17:42:23 -08:00
2022-09-19 06:17:05 -07:00
2021-04-20 06:50:14 -07:00
2022-08-16 12:46:26 +02:00
2021-12-26 15:02:05 -08:00
2023-03-22 13:33:52 +01:00
2022-05-17 05:53:00 -07:00
2023-03-30 12:49:13 +02:00
2022-12-31 13:33:06 +01:00
2023-08-03 10:24:12 +02:00
2023-03-10 09:33:59 +01:00
2022-05-22 11:32:30 -07:00
2021-10-12 07:22:41 -07:00
2022-09-19 06:17:05 -07:00
2022-02-27 17:03:19 -08:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-07-13 08:38:19 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2023-03-10 09:33:20 +01:00
2022-11-20 06:04:15 -08:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2021-04-20 06:50:14 -07:00
2023-03-22 13:33:52 +01:00
2021-10-12 07:22:41 -07:00
2021-10-12 07:22:41 -07:00
2021-04-20 06:50:14 -07:00
2021-04-20 06:50:14 -07:00
2021-10-12 07:22:41 -07:00
2022-09-20 07:10:58 -07:00
2020-12-02 17:42:24 -08:00
2022-02-09 13:00:45 +00:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2021-10-12 07:22:37 -07:00
2021-05-17 19:50:37 -05:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2021-01-27 17:44:18 -08:00
2021-04-20 06:50:14 -07:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-20 07:10:58 -07:00
2022-09-19 06:17:05 -07:00
2022-07-15 10:55:57 -07:00
2023-03-10 09:33:22 +01:00
2022-09-25 14:22:11 -07:00
2022-10-02 08:01:18 -07:00
2023-03-10 09:34:23 +01:00
2022-05-22 11:32:31 -07:00
2023-03-10 09:33:59 +01:00
2022-08-10 06:37:01 -07:00
2023-08-03 10:24:12 +02:00
2022-09-19 06:17:05 -07:00
2022-02-19 16:47:54 -08:00
2021-04-20 06:50:14 -07:00
2022-09-19 06:17:06 -07:00
2022-09-25 14:22:11 -07:00
2022-08-16 12:46:26 +02:00
2022-02-27 17:03:17 -08:00
2022-10-16 15:52:59 -07:00
2021-12-26 15:02:06 -08:00
2021-04-20 06:50:14 -07:00
2021-08-17 14:54:25 -07:00
2020-12-12 08:32:35 -08:00
2022-07-13 08:38:19 -07:00
2021-06-17 04:21:44 -07:00
2022-02-27 17:03:19 -08:00
2022-02-27 17:03:17 -08:00
2022-11-04 16:47:01 -07:00
2022-08-17 14:09:39 +02:00
2022-09-25 14:22:11 -07:00
2022-07-26 07:00:27 -07:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:11 -07:00
2022-05-22 11:32:32 -07:00
2022-08-16 12:46:26 +02:00
2021-10-12 07:22:41 -07:00
2021-01-27 17:44:17 -08:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-02-08 09:27:33 +00:00
2022-02-27 17:03:18 -08:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-03-03 07:40:42 -08:00
2023-03-22 13:33:52 +01:00
2022-10-04 19:02:54 -07:00
2022-03-08 09:15:22 -08:00
2022-09-25 14:22:11 -07:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:11 -07:00
2022-10-04 19:02:54 -07:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2022-09-26 15:21:33 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2023-04-20 12:35:11 +02:00