]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit88700d1396bae72d9a4c23a48bbd98c1c2f53f3d
tree3a36844ec54215baeedd5d78a0739b99624af6b1
parente43212e0f55dc2d6b15d6c174cc0a64b25fab5e7
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: 5cd29012028d ("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