aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/serial/mos7840.c
diff options
context:
space:
mode:
authorGary S. Robertson <gary.robertson@linaro.org>2013-09-10 13:37:29 -0500
committerGary S. Robertson <gary.robertson@linaro.org>2013-09-10 13:37:29 -0500
commit851a49d5d93bb534400c9aa81ec88057834b1b86 (patch)
treeff1a0ae4d127a037f55b8171e1f9510846c46d7f /drivers/usb/serial/mos7840.c
parent726a88c237f0fd8510e208ea367c614e48d1fa39 (diff)
parent0a4b6d4ff200a553951f77f765971cb3e4c91ec0 (diff)
Merge tag 'v3.10.9' into linux-lng - update linux-lng to v3.10.9linux-lng-3.10.9
This is the 3.10.9 stable release
Diffstat (limited to 'drivers/usb/serial/mos7840.c')
-rw-r--r--drivers/usb/serial/mos7840.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index b92d3338d055..2c1749da1f7e 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -2208,7 +2208,7 @@ static int mos7810_check(struct usb_serial *serial)
static int mos7840_probe(struct usb_serial *serial,
const struct usb_device_id *id)
{
- u16 product = serial->dev->descriptor.idProduct;
+ u16 product = le16_to_cpu(serial->dev->descriptor.idProduct);
u8 *buf;
int device_type;