From: Sudip Mukherjee Date: Fri, 17 Oct 2014 04:44:02 +0000 (+0530) Subject: usb: dwc2: gadget: sparse warning of context imbalance X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~17^2~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b585a48b8a9486f26a68886278f2c8f981676dd4;p=pandora-kernel.git 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: # v3.17 Acked-by: Paul Zimmerman Signed-off-by: Sudip Mukherjee Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed