USB: ftdi_sio: fix endianess of max packet size
commit233f104353ab7df00dad8a2137c3665d615098ee
authorMichael Wileczka <mikewileczka@yahoo.com>
Wed, 18 Aug 2010 14:14:37 +0000 (18 07:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:44:07 +0000 (26 16:44 -0700)
tree67a503e9f8d418486997826016a42edbd5d31b1f
parent35bc803aac3ba077352e99b32615946678de0467
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