HID: multitouch: Add suffix for HID_DG_TOUCHPAD
PATCH 1/1 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]>
--- drivers/hid/hid-multitouch.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/hid/hid-multitouch.c +3 -0
@@ -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 ;
Signature · 1 line
2.5.1
Quoted 13 lines · Mika Westerberg
Instead of printing "UNKNOWN" as device suffix for
HID_DG_TOUCHPADcall the device as "Touchpad".Signed-off-by Mika Westerberg <[email protected]>--- drivers/hid/hid-multitouch.c | 3 +++ 1 file changed, 3 insertions(+)drivers/hid/hid-multitouch.c +0
-0
drivers/hid/hid-multitouch.c static void mt_input_configured(struct hid_device *hdev, struct hid_input *hi)
Quoted 10 lines
drivers/hid/hid-multitouch.c +3
-1@@ -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 ; --
I will drop my locally pending patch for this. ;)
Reviewed-by Daniel Martin <[email protected]>
Quoted 5 lines · Mika Westerberg
Instead of printing "UNKNOWN" as device suffix for
HID_DG_TOUCHPADcall the device as "Touchpad".Signed-off-by Mika Westerberg <[email protected]>---
Cheers,
Benjamin
Quoted 20 lines
drivers/hid/hid-multitouch.c | 3 +++ 1 file changed, 3 insertions(+)drivers/hid/hid-multitouch.c +3
-0@@ -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 ;Signature · 1 line
2.5.1
Quoted 4 lines · Mika Westerberg
Instead of printing "UNKNOWN" as device suffix for
HID_DG_TOUCHPADcall the device as "Touchpad".Signed-off-by Mika Westerberg <[email protected]>
Applied to hid.git#for-4.4/multitouch.
Signature · 2 lines
Jiri Kosina SUSE Labs