diff options
author | Basavaraj Natikar <[email protected]> | 2022-07-12 23:48:26 +0530 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2022-07-21 13:43:58 +0200 |
commit | 06aa2a43c307cf4096f422dcb575e5d2913e528f (patch) | |
tree | ca3c89797439f671063bfd32c444128788f45db4 /tools/perf/scripts/python | |
parent | aa051d36ce4ae23b488489f6b15abad68b59ca23 (diff) |
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: 4b2c53d93a4b ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)")
Signed-off-by: Basavaraj Natikar <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions