diff options
-rw-r--r-- | drivers/usb/gadget/serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c index e6c19aa4bef3..e552668d36b3 100644 --- a/drivers/usb/gadget/serial.c +++ b/drivers/usb/gadget/serial.c | |||
@@ -1699,6 +1699,7 @@ static int gs_setup_class(struct usb_gadget *gadget, | |||
1699 | memcpy(&port->port_line_coding, req->buf, ret); | 1699 | memcpy(&port->port_line_coding, req->buf, ret); |
1700 | spin_unlock(&port->port_lock); | 1700 | spin_unlock(&port->port_lock); |
1701 | } | 1701 | } |
1702 | ret = 0; | ||
1702 | break; | 1703 | break; |
1703 | 1704 | ||
1704 | case USB_CDC_REQ_GET_LINE_CODING: | 1705 | case USB_CDC_REQ_GET_LINE_CODING: |