projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12366ef
)
usb: gadget: net2280: silence sparse warning
author
Felipe Balbi
<balbi@ti.com>
Fri, 27 Feb 2015 15:44:51 +0000
(09:44 -0600)
committer
Felipe 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/udc/net2280.c
b/drivers/usb/gadget/udc/net2280.c
index 5041e218a30216a137a1d61ad17fdf2145a88bc7..9871b90195ad8eea42f3746946d740a248ef9f2c 100644
(file)
--- a/
drivers/usb/gadget/udc/net2280.c
+++ b/
drivers/usb/gadget/udc/net2280.c
@@
-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;