diff options
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 23f51a41093e..c7329f43d9c9 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -1104,7 +1104,7 @@ static int ftdi_mtxorb_hack_setup(struct usb_serial *serial) | |||
1104 | struct usb_endpoint_descriptor *ep_desc = &ep->desc; | 1104 | struct usb_endpoint_descriptor *ep_desc = &ep->desc; |
1105 | 1105 | ||
1106 | if (ep->enabled && ep_desc->wMaxPacketSize == 0) { | 1106 | if (ep->enabled && ep_desc->wMaxPacketSize == 0) { |
1107 | ep_desc->wMaxPacketSize = 0x40; | 1107 | ep_desc->wMaxPacketSize = cpu_to_le16(0x40); |
1108 | info("Fixing invalid wMaxPacketSize on read pipe"); | 1108 | info("Fixing invalid wMaxPacketSize on read pipe"); |
1109 | } | 1109 | } |
1110 | 1110 | ||