Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blind fix of raspberry halt due to unhandled int #195

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2122,13 +2122,15 @@ static void handle_hc_chhltd_intr_dma(dwc_otg_hcd_t * hcd,
halt_channel(hcd, hc, qtd,
DWC_OTG_HC_XFER_PERIODIC_INCOMPLETE);
} else {
DWC_ERROR
("%s: Channel %d, DMA Mode -- ChHltd set, but reason "
"for halting is unknown, hcint 0x%08x, intsts 0x%08x\n",
__func__, hc->hc_num, hcint.d32,
DWC_READ_REG32(&hcd->
core_if->core_global_regs->
gintsts));
/*
* Even if the reason for landing here is unknown, handle
* it like previously. Someone that understands how the
* driver works should probably explain why this works
* or add a real fix
*/

halt_channel(hcd, hc, qtd,
DWC_OTG_HC_XFER_PERIODIC_INCOMPLETE);
}

}
Expand Down