linux/drivers/hid/amd-sfh-hid
Basavaraj Natikar 06aa2a43c3 HID: amd_sfh: Add NULL check for hid device
On removal of hid device during SFH set report may cause NULL pointer
exception. Hence add NULL check for hid device before accessing.

Fixes: 4b2c53d93a ("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>
2022-07-21 13:43:58 +02:00
..
hid_descriptor HID: amd_sfh: change global variables to static 2022-04-21 10:18:54 +02:00
amd_sfh_client.c HID: amd_sfh: Add sensor name by index for debug info 2022-05-11 14:16:26 +02:00
amd_sfh_hid.c HID: amd_sfh: Add NULL check for hid device 2022-07-21 13:43:58 +02:00
amd_sfh_hid.h HID: amd_sfh: Move bus declaration outside of amd-sfh 2022-05-11 14:16:26 +02:00
amd_sfh_pcie.c HID: amd_sfh: Add sensor name by index for debug info 2022-05-11 14:16:26 +02:00
amd_sfh_pcie.h HID: amd_sfh: Add sensor name by index for debug info 2022-05-11 14:16:26 +02:00
Kconfig
Makefile