linux-imx/drivers/hid/amd-sfh-hid/sfh1_1
Basavaraj Natikar 18f59aab33 HID: amd_sfh: Handle "no sensors" in PM operations
[ Upstream commit 077e3e3bc8 ]

Resume or suspend each sensor device based on the num_hid_devices.
Therefore, add a check to handle the special case where no sensors are
present.

Fixes: 93ce5e0231 ("HID: amd_sfh: Implement SFH1.1 functionality")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:11:50 +02:00
..
amd_sfh_desc.c HID: amd_sfh: Fix for shift-out-of-bounds 2023-07-10 09:53:50 +02:00
amd_sfh_init.c HID: amd_sfh: Handle "no sensors" in PM operations 2024-06-12 11:11:50 +02:00
amd_sfh_init.h
amd_sfh_interface.c HID: amd_sfh: Increase sensor command timeout for SFH1.1 2023-04-13 15:55:22 +02:00
amd_sfh_interface.h HID: amd_sfh: Fix illuminance value 2023-04-13 15:55:22 +02:00