Skip to content

Commit

Permalink
hwmon: (asus-ec-sensors) autoload module via DMI data
Browse files Browse the repository at this point in the history
[ Upstream commit 88700d1 ]

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: 5cd2901 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
zeule authored and gregkh committed Sep 15, 2022
1 parent 447fb91 commit 7d40396
Showing 1 changed file with 222 additions and 186 deletions.

0 comments on commit 7d40396

Please sign in to comment.