aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJason Gerecke <[email protected]>2021-07-19 20:55:31 +0000
committerJiri Kosina <[email protected]>2021-07-28 09:43:48 +0000
commit7cc8524f65ce1a350042836c7cf837046aaa6e21 (patch)
treea5615e50436e5701a0c325afdecb301e7a698671 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentHID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT (diff)
downloadkernel-7cc8524f65ce1a350042836c7cf837046aaa6e21.tar.gz
kernel-7cc8524f65ce1a350042836c7cf837046aaa6e21.zip
HID: wacom: Skip processing of touches with negative slot values
The `input_mt_get_slot_by_key` function may return a negative value if an error occurs (e.g. running out of slots). If this occurs we should really avoid reporting any data for the slot. Signed-off-by: Ping Cheng <[email protected]> Signed-off-by: Jason Gerecke <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions