aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/ftdi_sio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 44c5b7717fe8..ec901ed5d93c 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1193,10 +1193,9 @@ static int read_latency_timer(struct usb_serial_port *port)
1193 0, priv->interface, 1193 0, priv->interface,
1194 (char *) &latency, 1, WDR_TIMEOUT); 1194 (char *) &latency, 1, WDR_TIMEOUT);
1195 1195
1196 if (rv < 0) { 1196 if (rv < 0)
1197 dev_err(&port->dev, "Unable to read latency timer: %i\n", rv); 1197 dev_err(&port->dev, "Unable to read latency timer: %i\n", rv);
1198 return -EIO; 1198 else
1199 } else
1200 priv->latency = latency; 1199 priv->latency = latency;
1201 return rv; 1200 return rv;
1202} 1201}