usb: gadget: u_bam: Correct nested locking flags
Previously the driver used the same flags variable to lock two different
spinlocks. This causes interrupts to stay disabled when the function
exits. Correct this by only doing irqsave and irqrestore on the
outermost spinlock.
Change-Id: I8a4942b4bbcd8fda5a31176f6133843456ddd0f5
Signed-off-by:
Jeff Ohlstein <johlstei@codeaurora.org>
Loading
Please sign in to comment