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>
Mon, 12 Aug 2013 20:52:35 +0000 (13:52 -0700)
commitd551ec9b690f3de65b0091a2e767f1382adc792d
tree7e5ea67cdcfec07feea1a46dc732788a3beaa4e5
parent6c1ee66a0b2bdbd64c078fba684d640cf2fd38a9
USB: mos7840: fix big-endian probe

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>
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/mos7840.c