mirror of https://github.com/hak5/openwrt.git
24 lines
760 B
Diff
24 lines
760 B
Diff
|
From 4de1c90013a4ee22aa8250f455b1a6417e0d90fb Mon Sep 17 00:00:00 2001
|
||
|
From: popcornmix <popcornmix@gmail.com>
|
||
|
Date: Fri, 20 Sep 2013 19:07:56 +0100
|
||
|
Subject: [PATCH 094/174] 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(-)
|
||
|
|
||
|
--- 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_
|
||
|
}
|
||
|
|
||
|
/* 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;
|
||
|
}
|