git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa6b18
)
usb: dwc2: gadget: sparse warning of context imbalance
author
Sudip Mukherjee
<sudipm.mukherjee@gmail.com>
Fri, 17 Oct 2014 04:44:02 +0000
(10:14 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 23 Oct 2014 14:55:43 +0000
(09:55 -0500)
sparse was giving the following warning:
warning: context imbalance in 's3c_hsotg_ep_enable'
- different lock contexts for basic block
we were returning ENOMEM while still holding the spinlock.
The sparse warning was fixed by releasing the spinlock before return.
Cc: <stable@vger.kernel.org> # v3.17
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c
patch
|
blob
|
history
diff --cc
drivers/usb/dwc2/gadget.c
Simple merge