Skip to content

Commit f7da120

Browse files
committed
Merge pull request #89 from ddv2005/rpi-3.2.27
Revert "Disable IRQs in dwc_otg_hcd_qh_free" patch
2 parents d52d21b + e5c8bb0 commit f7da120

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ extern bool microframe_schedule;
5454
*/
5555
void dwc_otg_hcd_qh_free(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh)
5656
{
57-
dwc_irqflags_t flags;
5857
dwc_otg_qtd_t *qtd, *qtd_tmp;
5958

6059
/* Free each QTD in the QTD list */
61-
DWC_SPINLOCK_IRQSAVE(hcd->lock,&flags);
60+
DWC_SPINLOCK(hcd->lock);
6261
DWC_CIRCLEQ_FOREACH_SAFE(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) {
6362
DWC_CIRCLEQ_REMOVE(&qh->qtd_list, qtd, qtd_list_entry);
6463
dwc_otg_hcd_qtd_free(qtd);
@@ -77,7 +76,7 @@ void dwc_otg_hcd_qh_free(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh)
7776
}
7877

7978
DWC_FREE(qh);
80-
DWC_SPINUNLOCK_IRQRESTORE(hcd->lock,flags);
79+
DWC_SPINUNLOCK(hcd->lock);
8180
return;
8281
}
8382

0 commit comments

Comments
 (0)