Commit 6f8c5fc3 authored by Jeff Ohlstein's avatar Jeff Ohlstein
Browse files

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: default avatarJeff Ohlstein <johlstei@codeaurora.org>
parent 949f2c99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment