commit | 6f8c5fc32c943dbec71b85f6bad7490ec508ef39 | [log] [tgz] |
---|---|---|
author | Jeff Ohlstein <johlstei@codeaurora.org> | Tue Jan 17 13:08:39 2012 -0800 |
committer | Jeff Ohlstein <johlstei@codeaurora.org> | Thu Jan 19 11:31:55 2012 -0800 |
tree | be6d7b9be5713684824803ed7ee5e117bc415160 | |
parent | 949f2c999c468f4c3c6b92fcdef71879fe1af652 [diff] |
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>