]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: ftdi_sio: fix endianess of max packet size
authorMichael Wileczka <mikewileczka@yahoo.com>
Wed, 18 Aug 2010 14:14:37 +0000 (07:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:41:57 +0000 (16:41 -0700)
commitc913aa09581fdc2ebd9f1cf3dad8aff5b3066f50
tree1f2d1ddf9c860d5af2c5080b5e4b4e01e3e1a2f6
parentc4f36c926f9054e5a3dd5963dab6c3fadea9c88f
USB: ftdi_sio: fix endianess of max packet size

commit d1ab903d2552b2362339b19203c7f01c797cb316 upstream.

The USB max packet size (always little-endian) was not being byte
swapped on big-endian systems.

Applicable since [USB: ftdi_sio: fix hi-speed device packet size calculation] approx 2.6.31

Signed-off-by: Michael Wileczka <mikewileczka@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c