Basavaraj Natikar decf64daf4 HID: amd_sfh: Handle "no sensors" in PM operations
[ Upstream commit 077e3e3bc84a51891e732507bbbd9acf6e0e4c8b ]

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: 93ce5e0231d7 ("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:03:17 +02:00
..
2024-04-27 17:07:09 +02:00
2024-04-27 17:07:09 +02:00
2022-07-21 13:47:12 +02:00
2024-04-27 17:07:09 +02:00
2022-02-02 15:12:22 +01:00