diff options
| author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2024-05-07 12:40:44 +0530 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2024-05-07 15:18:47 +0200 |
| commit | 077e3e3bc84a51891e732507bbbd9acf6e0e4c8b (patch) | |
| tree | f8226b93f896160d4c3c7187741159409d192dfc /scripts/gcc-plugins/gcc-generate-ipa-pass.h | |
| parent | 6856f079cd45c7c085a8062a1b4839d9567e6f48 (diff) | |
HID: amd_sfh: Handle "no sensors" in PM operations
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>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
