Skip to content
Commit 9fa2ad5f authored by Julien BLACHE's avatar Julien BLACHE Committed by Jiri Kosina
Browse files

USB HID: Fix USB vendor and product IDs endianness for USB HID devices



The USB vendor and product IDs are not byteswapped appropriately, and
thus come out in the wrong endianness when fetched through the evdev
using ioctl() on big endian platforms.

Signed-off-by: default avatarJulien BLACHE <jb@jblache.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 606135a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment