usb: gadget: net2280: silence sparse warning
authorFelipe Balbi <balbi@ti.com>
Fri, 27 Feb 2015 15:44:51 +0000 (09:44 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:31 +0000 (15:33 -0500)
Silence the following warning:

drivers/usb/gadget/udc/net2280.c:3176:33: warning: context imbalance in
'handle_stat1_irqs' - unexpected unlock

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/net2280.c

index 5041e218a30216a137a1d61ad17fdf2145a88bc7..9871b90195ad8eea42f3746946d740a248ef9f2c 100644 (file)
@@ -3128,6 +3128,8 @@ next_endpoints:
                BIT(PCI_RETRY_ABORT_INTERRUPT))
 
 static void handle_stat1_irqs(struct net2280 *dev, u32 stat)
+__releases(dev->lock)
+__acquires(dev->lock)
 {
        struct net2280_ep       *ep;
        u32                     tmp, num, mask, scratch;