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>
Tue, 24 Aug 2010 03:50:15 +0000 (20:50 -0700)
commitd1ab903d2552b2362339b19203c7f01c797cb316
treeca6194c3a70dac47fb86b834bdc1c01917312d8d
parent72916791cbeb9cc607ae620cfba207dea481cd76
USB: ftdi_sio: fix endianess of max packet size

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c