mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
HID: uclogic: Add missing suffix for digitalizers
[ Upstream commit0977fda058
] The Pen (0x02) application usage was changed to Digitalizer (0x01) in commitf7d8e387d9
("HID: uclogic: Switch to Digitizer usage for styluses"). However, a suffix was not selected for the new usage. Handle the digitalizer application usage in uclogic_input_configured() and add the required suffix. Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Fixes:f7d8e387d9
("HID: uclogic: Switch to Digitizer usage for styluses") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f088cde6d1
commit
0e1cd9276f
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ static int uclogic_input_configured(struct hid_device *hdev,
|
|||
suffix = "Pad";
|
||||
break;
|
||||
case HID_DG_PEN:
|
||||
case HID_DG_DIGITIZER:
|
||||
suffix = "Pen";
|
||||
break;
|
||||
case HID_CP_CONSUMER_CONTROL:
|
||||
|
|
Loading…
Reference in a new issue