]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (asus-ec-sensors) autoload module via DMI data
authorEugene Shalygin <eugene.shalygin@gmail.com>
Fri, 9 Sep 2022 15:56:53 +0000 (17:56 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 9 Sep 2022 17:45:08 +0000 (10:45 -0700)
commit33a7192e17569e9a8e6a72fb87f1691c4ac4e2d3
tree3a36844ec54215baeedd5d78a0739b99624af6b1
parenta8ccebe5e6cdec276fc617fec560731c3e232f1e
hwmon: (asus-ec-sensors) autoload module via DMI data

Replace autoloading data based on the ACPI EC device with the DMI
records for motherboards models. The ACPI method created a bug that when
this driver returns error from the probe function because of the
unsupported motherboard model, the ACPI subsystem concludes
that the EC device does not work properly.

Fixes: 3c52cba84dd4 ("hwmon: (asus-ec-sensors) introduce ec_board_info struct for board data")
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=216412
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2121844
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20220909155654.123398-2-eugene.shalygin@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/asus-ec-sensors.c