kernel/drivers/usb/chipidea/otg_fsm.c
.. .. @@ -256,8 +256,10 @@ 256 256 ci->enabled_otg_timer_bits &= ~(1 << t); 257 257 if (ci->next_otg_timer == t) { 258 258 if (ci->enabled_otg_timer_bits == 0) { 259 + spin_unlock_irqrestore(&ci->lock, flags);259 260 /* No enabled timers after delete it */ 260 261 hrtimer_cancel(&ci->otg_fsm_hrtimer); 262 + spin_lock_irqsave(&ci->lock, flags);261 263 ci->next_otg_timer = NUM_OTG_FSM_TIMERS; 262 264 } else { 263 265 /* Find the next timer */