From b585a48b8a9486f26a68886278f2c8f981676dd4 Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Fri, 17 Oct 2014 10:14:02 +0530 Subject: [PATCH] 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-format-patch failed