Commit dc425a1c authored by Mika Westerberg's avatar Mika Westerberg Committed by Jiri Kosina

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: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: default avatarDaniel Martin <consume.noise@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 851328fe
...@@ -968,6 +968,9 @@ static void mt_input_configured(struct hid_device *hdev, struct hid_input *hi) ...@@ -968,6 +968,9 @@ static void mt_input_configured(struct hid_device *hdev, struct hid_input *hi)
case HID_DG_TOUCHSCREEN: case HID_DG_TOUCHSCREEN:
/* we do not set suffix = "Touchscreen" */ /* we do not set suffix = "Touchscreen" */
break; break;
case HID_DG_TOUCHPAD:
suffix = "Touchpad";
break;
case HID_GD_SYSTEM_CONTROL: case HID_GD_SYSTEM_CONTROL:
suffix = "System Control"; suffix = "System Control";
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment