[PATCH 0/3] hwmon: (nct6775) Support lock by ACPI mutex

From: Denis Pauk
Date: Mon Nov 22 2021 - 16:29:09 EST

Lock by ACPI mutex that is required for support ASUS MAXIMUS VII HERO
motherboard. In other case, all methods are returned zero instead of real
values. Code uses acpi mutex before any IO operations in case when such
acpi mutex is known.

Patch series adds additional check for ChipID, and if method returned
zero, all calls by acpi_wmi are disabled.

Could you please review? Is it correct usage of ACPI mutex or better
to use some other method for reuse same ACPI mutex?


Denis Pauk (3):
hwmon: (nct6775) Use nct6775_*() lock function pointers in
hwmon: (nct6775) Implement custom lock by ACPI mutex.
hwmon: (nct6775) add MAXIMUS VII HERO.

drivers/hwmon/nct6775.c | 358 +++++++++++++++++++++++++++++-----------
1 file changed, 259 insertions(+), 99 deletions(-)

base-commit: fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf