Skip to content

Commit dc425a1

Browse files
westeriJiri Kosina
authored andcommitted
HID: multitouch: Add suffix for HID_DG_TOUCHPAD
Instead of printing "UNKNOWN" as device suffix for HID_DG_TOUCHPAD call the device as "Touchpad". Signed-off-by: Mika Westerberg <[email protected]> Acked-by: Benjamin Tissoires <[email protected]> Reviewed-by: Daniel Martin <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 851328f commit dc425a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/hid/hid-multitouch.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,9 @@ static void mt_input_configured(struct hid_device *hdev, struct hid_input *hi)
968968
case HID_DG_TOUCHSCREEN:
969969
/* we do not set suffix = "Touchscreen" */
970970
break;
971+
case HID_DG_TOUCHPAD:
972+
suffix = "Touchpad";
973+
break;
971974
case HID_GD_SYSTEM_CONTROL:
972975
suffix = "System Control";
973976
break;

0 commit comments

Comments
 (0)