OpenCloudOS-Kernel/drivers/hid/amd-sfh-hid
Hans de Goede 952f7d10c6 AMD_SFH: Add sensor_mask module parameter
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: 4f567b9f81 ("SFH: PCIe driver to add support of AMD sensor fusion hub")
Suggested-by: Richard Neumann <mail@richard-neumann.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Sandeep Singh <sandeep.singh@amd.com
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2021-03-08 16:32:32 +01:00
..
hid_descriptor AMD_SFH: Fix for incorrect Sensor index 2020-10-29 16:02:29 +01:00
Kconfig
Makefile
amd_sfh_client.c HID: sfh: fix address space confusion 2021-01-04 16:08:12 +01:00
amd_sfh_hid.c SFH: fix error return check for -ERESTARTSYS 2020-11-12 16:25:40 +01:00
amd_sfh_hid.h HID: sfh: fix address space confusion 2021-01-04 16:08:12 +01:00
amd_sfh_pcie.c AMD_SFH: Add sensor_mask module parameter 2021-03-08 16:32:32 +01:00
amd_sfh_pcie.h AMD_SFH: Removed unused activecontrolstatus member from the amd_mp2_dev struct 2021-03-08 16:32:32 +01:00