Skip to content

Commit 51b0127

Browse files
author
Jiri Kosina
committed
Merge branch 'for-6.10/uclogic' into for-linus
2 parents 55b0425 + a721b14 commit 51b0127

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/hid/hid-uclogic-params.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,9 @@ static int uclogic_params_huion_init(struct uclogic_params *params,
884884
goto cleanup;
885885
}
886886

887+
/* The firmware is used in userspace as unique identifier */
888+
strscpy(hdev->uniq, ver_ptr, sizeof(hdev->uniq));
889+
887890
/* If this is a transition firmware */
888891
if (strcmp(ver_ptr, transition_ver) == 0) {
889892
hid_dbg(hdev,

0 commit comments

Comments
 (0)