projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
851328f
)
HID: multitouch: Add suffix for HID_DG_TOUCHPAD
author
Mika Westerberg
<
[email protected]
>
Mon, 28 Sep 2015 14:22:17 +0000
(17:22 +0300)
committer
Jiri Kosina
<
[email protected]
>
Tue, 29 Sep 2015 10:08:17 +0000
(12:08 +0200)
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]
>
drivers/hid/hid-multitouch.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-multitouch.c
b/drivers/hid/hid-multitouch.c
index 426b2f1a34501c7516ab39dc631d3c2073591aac..661b4fce1a5dd753eba3ba122bac453def01e26e 100644
(file)
--- a/
drivers/hid/hid-multitouch.c
+++ b/
drivers/hid/hid-multitouch.c
@@
-968,6
+968,9
@@
static void mt_input_configured(struct hid_device *hdev, struct hid_input *hi)
case HID_DG_TOUCHSCREEN:
/* we do not set suffix = "Touchscreen" */
break;
+ case HID_DG_TOUCHPAD:
+ suffix = "Touchpad";
+ break;
case HID_GD_SYSTEM_CONTROL:
suffix = "System Control";
break;