diff options
author | 2022-07-23 11:40:33 +0530 | |
---|---|---|
committer | 2022-07-23 20:10:46 +0200 | |
commit | 5d4d0f15657535f6a122ab26d47230b5c2b944af (patch) | |
tree | f165d2e0e3bfe41bafe1376ed939a7573043bc14 /scripts/generate_rust_analyzer.py | |
parent | HID: amd_sfh: Fix implicit declaration error on i386 (diff) | |
download | wireguard-linux-5d4d0f15657535f6a122ab26d47230b5c2b944af.tar.xz wireguard-linux-5d4d0f15657535f6a122ab26d47230b5c2b944af.zip |
HID: amd_sfh: Handle condition of "no sensors"
Add a check for num_hid_devices to handle special case the situation
of "no sensors".
Fixes: 4b2c53d93a4b ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions