diff options
| author | Sudip Mukherjee <[email protected]> | 2014-10-17 10:14:02 +0530 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2014-10-23 09:55:43 -0500 |
| commit | b585a48b8a9486f26a68886278f2c8f981676dd4 (patch) | |
| tree | 90a2aea6cebcbbc5d5eb2ec53018155b3f81747f /lib/mpi/mpi-pow.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: <[email protected]> # v3.17
Acked-by: Paul Zimmerman <[email protected]>
Signed-off-by: Sudip Mukherjee <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions