summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/chipidea/udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 9133a59450f4..ddd27d3443f8 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -645,9 +645,9 @@ __acquires(udc->lock)
if (udc->status == NULL)
retval = -ENOMEM;
+done:
spin_lock(&udc->lock);
- done:
if (retval)
dev_err(udc->dev, "error: %i\n", retval);
}