linux/drivers/hid/amd-sfh-hid
Basavaraj Natikar 8031b001da HID: amd_sfh: Move sensor discovery before HID device initialization
Sensors discovery is independent of HID device initialization. If sensor
discovery fails after HID initialization, then the HID device needs to be
deinitialized. Therefore, sensors discovery should be moved before HID
device initialization.

Fixes: 7bcfdab3f0 ("HID: amd_sfh: if no sensors are enabled, clean up")
Tested-by: Aurinko <petrvelicka@tuta.io>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Link: https://patch.msgid.link/20240718111616.3012155-1-Basavaraj.Natikar@amd.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
2024-07-23 19:09:38 +02:00
..
hid_descriptor HID: amd_sfh: Add light chromaticity support 2023-09-24 13:31:33 +01:00
sfh1_1 HID: amd_sfh: Use amd_get_c2p_val() to read C2P register 2024-05-07 15:18:47 +02:00
amd_sfh_client.c HID: amd_sfh: Move sensor discovery before HID device initialization 2024-07-23 19:09:38 +02:00
amd_sfh_common.h HID: amd_sfh: Extend MP2 register access to SFH 2024-02-27 15:13:55 +01:00
amd_sfh_hid.c HID: amd_sfh: Constify lowlevel HID driver 2023-02-06 15:08:44 +01:00
amd_sfh_hid.h HID: amd_sfh: Fix max supported HID devices 2023-04-25 10:58:28 +02:00
amd_sfh_pcie.c HID: amd_sfh: Modify and log error only if case of functionality failures 2024-05-07 15:18:47 +02:00
amd_sfh_pcie.h HID: amd_sfh: Update HPD sensor structure elements 2024-02-27 15:13:55 +01:00
Kconfig HID: amd_sfh: Set the AMD SFH driver to depend on x86 2024-02-28 13:10:55 +01:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00