mirror of https://github.com/hak5/openwrt-owl.git
29 lines
920 B
Diff
29 lines
920 B
Diff
From 33f352709fedc760be85adde5b834043a650f585 Mon Sep 17 00:00:00 2001
|
|
From: popcornmix <popcornmix@gmail.com>
|
|
Date: Fri, 20 Sep 2013 19:07:56 +0100
|
|
Subject: [PATCH 094/196] dwc_otg: Fix for occasional lockup on boot when doing
|
|
a USB reset
|
|
|
|
---
|
|
drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
|
|
index 509b629..57092d2 100644
|
|
--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
|
|
+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
|
|
@@ -742,8 +742,8 @@ int32_t dwc_otg_hcd_handle_sof_intr(dwc_otg_hcd_t * hcd)
|
|
}
|
|
|
|
/* Clear interrupt */
|
|
- //gintsts.b.sofintr = 1;
|
|
- //DWC_WRITE_REG32(&hcd->core_if->core_global_regs->gintsts, gintsts.d32);
|
|
+ gintsts.b.sofintr = 1;
|
|
+ DWC_WRITE_REG32(&hcd->core_if->core_global_regs->gintsts, gintsts.d32);
|
|
|
|
return 1;
|
|
}
|
|
--
|
|
1.9.1
|
|
|