aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJason Gerecke <[email protected]>2017-08-04 22:35:14 +0000
committerJiri Kosina <[email protected]>2017-08-08 08:10:26 +0000
commit8d411cbf46e515ca2b7ceb3d2b3f43e22813edac (patch)
treeb19b1b5ab287b74ab24a2f1b7247b0aa72203943 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentHID: add ALWAYS_POLL quirk for Logitech 0xc077 (diff)
downloadkernel-8d411cbf46e515ca2b7ceb3d2b3f43e22813edac.tar.gz
kernel-8d411cbf46e515ca2b7ceb3d2b3f43e22813edac.zip
HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage
The WACOM_HID_WD_TOUCHRINGSTATUS usage is a single bit which tells us whether the touchring is currently in use or not. Because we need to reset the axis value to 0 when the finger is removed, we call 'wacom_map_usage' to ensure that the required type/code values are associated with the usage. The 'wacom_map_usage' also sets up the axis range and resolution, however, which is not desired in this particular case. Although xf86-input-wacom doesn't do really do anything with the ring's range or resolution, the libinput driver (for Wayland environments) uses these values to provide proper angle indications to userspace. Fixes: 60a2218698 ("HID: wacom: generic: add support for touchring") Cc: [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