USB: mos7840: fix big-endian probe
authorJohan Hovold <jhovold@gmail.com>
Sun, 11 Aug 2013 14:49:20 +0000 (16:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 15:43:04 +0000 (08:43 -0700)
commitd802afca86ce011832ec9e8d8120f0ada9dd1835
tree6759f9eb33350d805ea539db97f59e9b6bee5acd
parent0179a37034fd74b573e63e7175dc6e65249b5389
USB: mos7840: fix big-endian probe

commit d551ec9b690f3de65b0091a2e767f1382adc792d upstream.

Fix bug in device-type detection on big-endian machines originally
introduced by commit 0eafe4de ("USB: serial: mos7840: add support for
MCS7810 devices") which always matched on little-endian product ids.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c