diff options
-rw-r--r-- | drivers/staging/westbridge/astoria/gadget/cyasgadget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/westbridge/astoria/gadget/cyasgadget.c b/drivers/staging/westbridge/astoria/gadget/cyasgadget.c index defa05cd5e50..be851ca54cec 100644 --- a/drivers/staging/westbridge/astoria/gadget/cyasgadget.c +++ b/drivers/staging/westbridge/astoria/gadget/cyasgadget.c | |||
@@ -587,6 +587,7 @@ static int cyasgadget_enable( | |||
587 | "cy_as_usb_end_point_config EP %s mismatch " | 587 | "cy_as_usb_end_point_config EP %s mismatch " |
588 | "on enabled\n", an_ep->usb_ep_inst.name); | 588 | "on enabled\n", an_ep->usb_ep_inst.name); |
589 | #endif | 589 | #endif |
590 | spin_unlock_irqrestore(&an_dev->lock, flags); | ||
590 | return -EINVAL; | 591 | return -EINVAL; |
591 | } | 592 | } |
592 | 593 | ||