952f7d10c6
Add a sensor_mask module parameter which can be used to override the
sensor-mask read from the activestatus bits of the AMD_P2C_MSG3
registers. Some BIOS-es do not program the activestatus bits, leading
to the AMD-SFH driver not registering any HID devices even though the
laptop in question does actually have sensors.
While at it also fix the wrong indentation of the MAGNO_EN define.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199715
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1651886
Fixes:
|
||
---|---|---|
.. | ||
hid_descriptor | ||
Kconfig | ||
Makefile | ||
amd_sfh_client.c | ||
amd_sfh_hid.c | ||
amd_sfh_hid.h | ||
amd_sfh_pcie.c | ||
amd_sfh_pcie.h |