* [PATCH RESEND] HID: uclogic: Add missing suffix for digitalizers
@ 2022-08-15 14:26 José Expósito
2022-08-25 8:25 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: José Expósito @ 2022-08-15 14:26 UTC (permalink / raw)
To: jikos
Cc: benjamin.tissoires, spbnick, linux-input, linux-kernel,
José Expósito
The Pen (0x02) application usage was changed to Digitalizer (0x01) in
commit f7d8e387d9ae ("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>
---
Kindly resending this patch so it doesn't get lost after the merge
window.
---
drivers/hid/hid-uclogic-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hid/hid-uclogic-core.c b/drivers/hid/hid-uclogic-core.c
index 47a17375c7fc..ff46604ef1d8 100644
--- a/drivers/hid/hid-uclogic-core.c
+++ b/drivers/hid/hid-uclogic-core.c
@@ -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:
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RESEND] HID: uclogic: Add missing suffix for digitalizers
2022-08-15 14:26 [PATCH RESEND] HID: uclogic: Add missing suffix for digitalizers José Expósito
@ 2022-08-25 8:25 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2022-08-25 8:25 UTC (permalink / raw)
To: José Expósito
Cc: benjamin.tissoires, spbnick, linux-input, linux-kernel
On Mon, 15 Aug 2022, José Expósito wrote:
> The Pen (0x02) application usage was changed to Digitalizer (0x01) in
> commit f7d8e387d9ae ("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>
>
> ---
>
> Kindly resending this patch so it doesn't get lost after the merge
> window.
> ---
> drivers/hid/hid-uclogic-core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hid/hid-uclogic-core.c b/drivers/hid/hid-uclogic-core.c
> index 47a17375c7fc..ff46604ef1d8 100644
> --- a/drivers/hid/hid-uclogic-core.c
> +++ b/drivers/hid/hid-uclogic-core.c
> @@ -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:
Applied, thanks.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-25 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15 14:26 [PATCH RESEND] HID: uclogic: Add missing suffix for digitalizers José Expósito
2022-08-25 8:25 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).