Commit 0130a0e6 authored by Arve Hjønnevåg's avatar Arve Hjønnevåg Committed by Colin Cross
Browse files

USB: gadget: android: mass_storage: Use spin_lock_irqsave/spin_unlock_irqrestore



The old code did not allways disable interrupts when called from thread
context, but tried to lock the same spinlock from interrupt context.

This was merged from a change to drivers/usb/function/mass_storage.c
in the android-msm-2.6.29 branch.

Signed-off-by: default avatarArve Hjønnevåg <arve@android.com>
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 0a4c12d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment