diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2022-07-23 09:10:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-17 16:15:38 +0300 |
commit | e2e80c37e00de388dfde42e7a9d5d8709ef1619a (patch) | |
tree | b826ff12edc01d4652723ca441f7a914c9dc1352 /drivers/usb | |
parent | a0dfb4e7b28a66571194d748db580cba25978fd3 (diff) | |
download | linux-e2e80c37e00de388dfde42e7a9d5d8709ef1619a.tar.xz |
HID: amd_sfh: Handle condition of "no sensors"
[ Upstream commit 5d4d0f15657535f6a122ab26d47230b5c2b944af ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions