summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-ids.h
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2022-11-10 18:49:18 +0100
committerJiri Kosina <jkosina@suse.cz>2022-11-14 15:02:38 +0100
commita6f4f1662711bd03308371d9649783a5be596898 (patch)
treea2a1544de7293c7e7d06bc1462eef632cc313110 /drivers/hid/hid-ids.h
parentf77810f744139572a63e5a85ab6a8c10c2d44fb1 (diff)
HID: uclogic: Fix frame templates for big endian architectures
When parsing a frame template with a placeholder indicating the number of buttons present on the frame its value was incorrectly set on big endian architectures due to double little endian conversion. In order to reproduce the issue and verify the fix, run the HID KUnit tests on the PowerPC architecture: $ ./tools/testing/kunit/kunit.py run --kunitconfig=drivers/hid \ --arch=powerpc --cross_compile=powerpc64-linux-gnu- Fixes: 867c89254425 ("HID: uclogic: Allow to generate frame templates") Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
0 files changed, 0 insertions, 0 deletions