]> err.no Git - linux-2.6/commit
USB HID: Fix USB vendor and product IDs endianness for USB HID devices
authorJulien BLACHE <jb@jblache.org>
Sun, 11 Feb 2007 17:20:25 +0000 (18:20 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 1 Mar 2007 08:52:37 +0000 (09:52 +0100)
commit9fa2ad5ff4d8ded8c29c7b6cc92a1c3a8d8a2079
tree86e4b4c0071a722c13446d59a5bda7ce65bbfc42
parent606135a3081e045b677cde164a296c51f66c4633
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: Julien BLACHE <jb@jblache.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/usb/input/hid-core.c