]> git.itanic.dy.fi Git - linux-stable/commit
USB: ti_usb_3410_5052: fix big-endian firmware handling
authorJohan Hovold <jhovold@gmail.com>
Sun, 11 Aug 2013 14:49:23 +0000 (16:49 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:23 +0000 (01:57 +0100)
commitc372ce3c31bf53445e71426b56252ca8238c330f
tree5ca0c8c77e45024c7e88440ec690ea014b042fa6
parent735143e24807a8202d2fde8999eab1c3b761949d
USB: ti_usb_3410_5052: fix big-endian firmware handling

commit e877dd2f2581628b7119df707d4cf03d940cff49 upstream.

Fix endianess bugs in firmware handling introduced by commits cb7a7c6a
("ti_usb_3410_5052: add Multi-Tech modem support") and 05a3d905
("ti_usb_3410_5052: support alternate firmware") which made the driver
use the wrong firmware for certain devices on big-endian machines.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/ti_usb_3410_5052.c