Message ID | 20220421175052.911446-6-jose.exposito89@gmail.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 4c60bc7d1f2a908f53260bc4a0831b3ea204f327 |
Delegated to: | Jiri Kosina |
Headers | show |
Series | DIGImend patches, part V | expand |
diff --git a/drivers/hid/hid-uclogic-params.c b/drivers/hid/hid-uclogic-params.c index b85585ac3372..22f9c4f9da8a 100644 --- a/drivers/hid/hid-uclogic-params.c +++ b/drivers/hid/hid-uclogic-params.c @@ -713,7 +713,8 @@ static int uclogic_params_huion_init(struct uclogic_params *params, /* If it's a custom keyboard interface */ if (bInterfaceNumber == 1) { - /* Keep everything intact */ + /* Keep everything intact, but mark pen usage invalid */ + p.pen.usage_invalid = true; goto output; /* Else, if it's not a pen interface */ } else if (bInterfaceNumber != 0) {