Armin Wolf
ad53060bdf
hwmon: (dell-smm) Speed up setting of fan speed
...
commit c0d79987a0d82671bff374c07f2201f9bdf4aaa2 upstream.
When setting the fan speed, i8k_set_fan() calls i8k_get_fan_status(),
causing an unnecessary SMM call since from the two users of this
function, only i8k_ioctl_unlocked() needs to know the new fan status
while dell_smm_write() ignores the new fan status.
Since SMM calls can be very slow while also making error reporting
difficult for dell_smm_write(), remove the function call from
i8k_set_fan() and call it separately in i8k_ioctl_unlocked().
Tested on a Dell Inspiron 3505.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20211021190531.17379-6-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-16 12:54:30 +01:00
..
2021-05-19 10:13:13 +02:00
2021-11-18 14:04:07 +01:00
2019-10-18 19:37:08 +01:00
2019-05-24 17:36:45 +02:00
2019-11-06 14:37:19 -08:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2020-06-25 16:06:06 -07:00
2019-05-30 11:25:18 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:40 -07:00
2019-05-24 17:36:45 +02:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-24 07:44:51 -07:00
2020-09-23 09:42:40 -07:00
2019-05-24 17:36:42 +02:00
2019-05-24 17:36:45 +02:00
2019-05-30 11:25:18 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2021-01-12 20:18:22 +01:00
2020-11-12 07:00:59 -08:00
2019-09-03 12:47:17 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:40 -07:00
2020-07-05 20:45:45 -07:00
2019-06-23 18:33:01 -07:00
2020-09-23 09:42:39 -07:00
2020-08-04 14:27:20 -07:00
2020-10-04 08:40:10 -07:00
2020-10-04 08:40:10 -07:00
2020-03-24 21:33:36 +01:00
2020-07-24 07:44:57 -07:00
2020-05-13 10:06:09 -07:00
2019-05-30 11:26:32 -07:00
2022-02-16 12:54:30 +01:00
2020-09-23 09:42:40 -07:00
2020-07-18 08:11:44 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:40 -07:00
2019-05-24 17:36:45 +02:00
2020-08-23 17:36:59 -05:00
2020-09-23 09:42:40 -07:00
2020-06-15 19:25:53 +02:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2019-07-08 18:11:32 -07:00
2020-09-23 09:42:41 -07:00
2020-09-23 09:42:39 -07:00
2020-08-23 17:36:59 -05:00
2021-11-18 14:04:07 +01:00
2020-08-04 14:24:39 -07:00
2019-05-30 11:26:37 -07:00
2020-03-08 20:35:46 -07:00
2019-05-30 11:26:35 -07:00
2020-03-11 08:09:31 -07:00
2019-09-03 12:47:17 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-12-30 11:53:31 +01:00
2020-10-04 08:40:10 -07:00
2019-05-30 11:26:37 -07:00
2020-09-23 09:42:39 -07:00
2019-09-03 12:47:17 -07:00
2020-12-30 11:52:55 +01:00
2021-12-29 12:25:59 +01:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2021-07-14 16:56:07 +02:00
2020-09-23 09:42:40 -07:00
2020-10-04 08:40:10 -07:00
2020-05-22 06:28:38 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2021-05-26 12:06:54 +02:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:40 -07:00
2022-02-01 17:25:46 +01:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2019-04-15 17:19:53 -07:00
2020-09-23 09:42:39 -07:00
2021-10-17 10:43:33 +02:00
2020-09-23 09:42:40 -07:00
2019-11-06 14:37:19 -08:00
2019-11-06 14:37:19 -08:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2019-05-21 11:28:45 +02:00
2020-10-14 15:56:58 -07:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:06 +02:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2021-07-14 16:56:07 +02:00
2020-09-23 09:42:39 -07:00
2021-07-14 16:56:08 +02:00
2019-02-18 14:23:29 -08:00
2020-09-23 09:42:39 -07:00
2019-05-30 11:26:32 -07:00
2021-10-06 15:55:51 +02:00
2022-01-27 10:54:00 +01:00
2020-07-19 16:25:20 -07:00
2020-08-23 17:36:59 -05:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2019-09-03 12:47:17 -07:00
2019-06-05 17:37:14 +02:00
2019-05-30 11:26:35 -07:00
2019-05-24 17:36:45 +02:00
2019-05-30 11:26:41 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2021-01-19 18:27:25 +01:00
2019-09-03 12:47:17 -07:00
2020-08-19 21:44:11 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2020-09-23 09:42:41 -07:00
2021-06-23 14:42:49 +02:00
2020-09-23 09:42:39 -07:00
2019-04-17 10:37:23 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:40 -07:00
2019-05-24 17:36:45 +02:00
2020-09-17 16:02:42 +01:00
2020-09-23 09:42:39 -07:00
2019-05-24 17:36:45 +02:00
2019-06-23 18:33:01 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:39:40 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2021-10-06 15:55:53 +02:00
2020-10-04 08:40:10 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:41 -07:00
2019-05-24 17:36:45 +02:00
2020-03-24 21:33:36 +01:00
2019-05-24 17:36:45 +02:00
2020-08-04 14:24:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:40:33 -07:00
2020-08-23 17:36:59 -05:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2021-10-06 15:55:47 +02:00
2021-10-06 15:55:47 +02:00
2021-10-06 15:55:47 +02:00
2020-09-23 09:42:40 -07:00
2019-06-05 17:30:30 +02:00
2019-06-05 17:30:30 +02:00
2019-05-21 11:28:45 +02:00