Unverified Commit 9358e1f4 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2447 xhci: print warning when HCE was set

parents e60ac071 19c5f472
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2935,6 +2935,11 @@ irqreturn_t xhci_irq(struct usb_hcd *hcd)
	if (!(status & STS_EINT))
		goto out;

	if (status & STS_HCE) {
		xhci_warn(xhci, "WARNING: Host Controller Error\n");
		goto out;
	}

	if (status & STS_FATAL) {
		xhci_warn(xhci, "WARNING: Host System Error\n");
		xhci_halt(xhci);