diff options
author | José Expósito <jose.exposito89@gmail.com> | 2022-08-15 16:29:50 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-08-25 10:26:31 +0200 |
commit | a64cbf3ce63122168e1edb3eb1eb1cf7781ae230 (patch) | |
tree | afff73882f2cd4b0efbab1939c04e9d881800dca /drivers/hid/Makefile | |
parent | 08809e482a1c44d95d1322b9fbc94c8e58ae9015 (diff) | |
download | linux-a64cbf3ce63122168e1edb3eb1eb1cf7781ae230.tar.gz linux-a64cbf3ce63122168e1edb3eb1eb1cf7781ae230.tar.bz2 linux-a64cbf3ce63122168e1edb3eb1eb1cf7781ae230.zip |
HID: uclogic: Refactor UGEE v2 string descriptor parsing
The UGEE v2 tablets expose a string descriptor with their capabilities.
Move the code used to parse the descriptors and generate a parameter
list from it to its own function and add KUnit tests to validate the
parser.
Tested-by: Jouke Witteveen <j.witteveen@gmail.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Makefile')
-rw-r--r-- | drivers/hid/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile index 82d8fd97d96c..fe69dece2a46 100644 --- a/drivers/hid/Makefile +++ b/drivers/hid/Makefile @@ -145,6 +145,7 @@ obj-$(CONFIG_HID_SENSOR_HUB) += hid-sensor-hub.o obj-$(CONFIG_HID_SENSOR_CUSTOM_SENSOR) += hid-sensor-custom.o hid-uclogic-test-objs := hid-uclogic-rdesc.o \ + hid-uclogic-params.o \ hid-uclogic-rdesc-test.o obj-$(CONFIG_HID_KUNIT_TEST) += hid-uclogic-test.o |