summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.com>2024-05-14 13:58:21 +0200
committerJiri Kosina <jkosina@suse.com>2024-05-14 13:58:21 +0200
commit51b012742caf9efda039b265e937c69d8bcd8d42 (patch)
tree4f3789b87ca8645bbe61057df16cf5d2fddef54b
parent55b04252dcc8117cb30da08ef8d6ed113f84bcb9 (diff)
parenta721b1423b049323d0987700ff125b46208046f9 (diff)
Merge branch 'for-6.10/uclogic' into for-linus
-rw-r--r--drivers/hid/hid-uclogic-params.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-uclogic-params.c b/drivers/hid/hid-uclogic-params.c
index 9859dad36495..5bab006ec165 100644
--- a/drivers/hid/hid-uclogic-params.c
+++ b/drivers/hid/hid-uclogic-params.c
@@ -884,6 +884,9 @@ static int uclogic_params_huion_init(struct uclogic_params *params,
goto cleanup;
}
+ /* The firmware is used in userspace as unique identifier */
+ strscpy(hdev->uniq, ver_ptr, sizeof(hdev->uniq));
+
/* If this is a transition firmware */
if (strcmp(ver_ptr, transition_ver) == 0) {
hid_dbg(hdev,