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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 20:52:35 +0000 (13:52 -0700)
commite877dd2f2581628b7119df707d4cf03d940cff49
treefa3c3ff73d8c409b1f227bb32782a2988e32e6d2
parentd482b9d558602a9cacab063b1c8779f9b5214da7
USB: ti_usb_3410_5052: fix big-endian firmware handling

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.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ti_usb_3410_5052.c