summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>2022-07-23 09:10:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-17 16:15:38 +0300
commite2e80c37e00de388dfde42e7a9d5d8709ef1619a (patch)
treeb826ff12edc01d4652723ca441f7a914c9dc1352 /drivers/usb
parenta0dfb4e7b28a66571194d748db580cba25978fd3 (diff)
downloadlinux-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