]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/westbridge/astoria/gadget/cyasgadget.c
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[karo-tx-linux.git] / drivers / staging / westbridge / astoria / gadget / cyasgadget.c
index defa05cd5e50fff3d7ca94ad6b6125bdea41f1b5..be851ca54cecbf934bfdfe4f6f56390d024f5ddb 100644 (file)
@@ -587,6 +587,7 @@ static int cyasgadget_enable(
                        "cy_as_usb_end_point_config EP %s mismatch "
                        "on enabled\n", an_ep->usb_ep_inst.name);
                #endif
+               spin_unlock_irqrestore(&an_dev->lock, flags);
                return -EINVAL;
        }