[Bug 204807] Hardware monitoring sensor nct6798d doesn't work unless acpi_enforce_resources=lax is enabled

bugzilla-daemon
2021-11-11T16:54:43Z

--- Comment #168 from Eugene Shalygin (eugene.shalygin@gmail.com) ---
(In reply to Denis Pauk from comment #165)

> Maybe we can have asus_wmi_info_table from patch in #163 as shared file with
> description of preferred method for access, acpi mutext name, devices on i2c
> bus, ec register address to sensor type. What do you think?

My idea was that the mutex for the state lock can be either the regular mutex
or the ACPI mutex, there is no need to lock both of them simultaneously. So
that the module can return a structure with the mutex (ACPI one if known for
the given hardware or the regular one) and functions to lock and unlock it. I
just thought that would make logic in the actual sensor modules (nct or ec)
simpler.