diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-10-17 00:44:02 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-10-23 10:55:43 -0400 |
commit | b585a48b8a9486f26a68886278f2c8f981676dd4 (patch) | |
tree | 90a2aea6cebcbbc5d5eb2ec53018155b3f81747f /net/batman-adv/debugfs.c | |
parent | bfa6b18c680450c17512c741ed1d818695747621 (diff) |
usb: dwc2: gadget: sparse warning of context imbalance
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>
Diffstat (limited to 'net/batman-adv/debugfs.c')
0 files changed, 0 insertions, 0 deletions