USB: android: release spinlock before queuing work in android_setup
In android_setup we release spinlock after scheduling the work but there is no need for holding the spinlock during the schedule_work call is executed this can lead to spinlock timeouts in case where schedule work takes more time. So before scheduling work in android_setup we release spinlock to avoid potential spinlock lockup or timeout. CRs-Fixed: 586224 Change-Id: Ib7a1105d879292f9d05bc4a9ba50353159048ea3 Signed-off-by:Tarun Gupta <tarung@codeaurora.org> Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment