diff options
Diffstat (limited to 'drivers/usb/serial/cypress_m8.c')
-rw-r--r-- | drivers/usb/serial/cypress_m8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index 32121794808d..0230d3c0888a 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -541,7 +541,7 @@ static int cypress_earthmate_startup (struct usb_serial *serial) | |||
541 | /* All Earthmate devices use the separated-count packet | 541 | /* All Earthmate devices use the separated-count packet |
542 | format! Idiotic. */ | 542 | format! Idiotic. */ |
543 | priv->pkt_fmt = packet_format_1; | 543 | priv->pkt_fmt = packet_format_1; |
544 | if (serial->dev->descriptor.idProduct != PRODUCT_ID_EARTHMATEUSB) { | 544 | if (serial->dev->descriptor.idProduct != cpu_to_le16(PRODUCT_ID_EARTHMATEUSB)) { |
545 | /* The old original USB Earthmate seemed able to | 545 | /* The old original USB Earthmate seemed able to |
546 | handle GET_CONFIG requests; everything they've | 546 | handle GET_CONFIG requests; everything they've |
547 | produced since that time crashes if this command is | 547 | produced since that time crashes if this command is |