James Seo
f9902f92ce
hwmon: (hp-wmi-sensors) Fix failure to load on EliteDesk 800 G6
...
[ Upstream commit c9ba592580947b81f33f514320aeef02ddc001fd ]
The EliteDesk 800 G6 stores a raw WMI string within the ACPI object in its
BIOS corresponding to one instance of HPBIOS_PlatformEvents.Name. This is
evidently a valid way of representing a WMI data item as far as the
Microsoft ACPI-WMI mapper is concerned, but is preventing the driver from
loading.
This seems quite rare, but add support for such strings. Treating this as a
quirk pretty much means adding that support anyway.
Also clean up an oversight in update_numeric_sensor_from_wobj() in which
the result of hp_wmi_strdup() was being used without error checking.
Reported-by: Lukasz Stelmach <l.stelmach@samsung.com>
Closes: https://lore.kernel.org/linux-hwmon/7850a0bd-60e7-88f8-1d6c-0bb0e3234fdc@roeck-us.net/
Tested-by: Lukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: James Seo <james@equiv.tech>
Link: https://lore.kernel.org/r/20231123054918.157098-1-james@equiv.tech
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-05 20:14:28 +00:00
..
2023-06-08 06:41:17 -07:00
2023-09-01 09:53:54 -07:00
2023-11-20 11:59:08 +01:00
2022-09-25 14:22:11 -07:00
2022-09-25 14:22:11 -07:00
2023-12-13 18:45:14 +01:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2022-02-09 13:00:45 +00:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-04-19 07:08:34 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:18 -07:00
2023-06-08 06:41:17 -07:00
2023-08-09 21:09:47 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2022-11-23 19:11:22 +01:00
2022-07-13 08:39:42 -07:00
2023-08-21 06:04:12 -07:00
2023-06-08 06:41:17 -07:00
2023-11-20 11:59:07 +01:00
2023-08-21 06:04:29 -07:00
2023-11-20 11:59:07 +01:00
2023-04-19 07:08:35 -07:00
2024-01-20 11:51:42 +01:00
2023-04-19 07:08:35 -07:00
2023-06-08 06:41:17 -07:00
2023-04-27 11:53:57 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-05-19 05:59:37 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:31 -07:00
2023-06-08 06:35:52 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2024-02-05 20:14:28 +00:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:18 -07:00
2023-04-19 07:08:35 -07:00
2022-07-01 11:53:29 -07:00
2023-02-03 07:30:10 -08:00
2023-04-19 07:08:31 -07:00
2023-02-03 07:30:11 -08:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-15 09:19:36 +01:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:36 -07:00
2023-08-10 14:23:57 +02:00
2023-08-21 06:04:30 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2022-02-27 17:03:19 -08:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2022-07-13 08:38:19 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-10 07:37:02 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:36 -07:00
2023-06-08 06:41:17 -07:00
2022-09-25 14:22:12 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-05-26 13:33:05 +02:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:31 -07:00
2023-06-08 06:41:17 -07:00
2022-09-25 14:22:12 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-26 06:45:54 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-25 07:43:04 -07:00
2022-12-04 16:45:02 -08:00
2023-06-08 06:41:17 -07:00
2024-02-05 20:14:28 +00:00
2023-06-17 20:50:30 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:30 -07:00
2023-07-24 07:01:40 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:37 -07:00
2023-08-21 06:04:31 -07:00
2023-04-19 07:08:37 -07:00
2023-12-13 18:45:15 +01:00
2023-04-19 07:08:37 -07:00
2023-08-21 06:04:29 -07:00
2022-09-25 14:22:11 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:33 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-11-20 11:59:07 +01:00
2023-11-20 11:59:08 +01:00
2022-02-27 17:03:17 -08:00
2023-03-03 20:45:02 +01:00
2023-08-21 06:04:29 -07:00
2023-04-19 07:08:40 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-02-03 07:30:10 -08:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-25 06:20:53 -07:00
2023-04-19 07:08:38 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-10 07:37:02 -07:00
2023-06-08 06:41:17 -07:00
2023-06-10 07:37:02 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:29 -07:00
2023-08-25 07:43:10 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:29 -07:00
2023-08-25 06:18:09 -07:00
2023-04-19 07:08:33 -07:00
2023-08-25 06:19:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:39 -07:00
2022-09-26 15:21:33 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-03-21 07:50:24 -07:00