Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e61e7ba2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: Workaround for irq mask issue" into msm-4.9

parents 38134ebe 7ecdb05f
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -740,6 +740,16 @@ int dwc3_core_init(struct dwc3 *dwc)
		}
	}

	/*
	 * Workaround for STAR 9000961433 which affects only version
	 * 3.00a of the DWC_usb3 core. This prevents the controller
	 * interrupt from being masked while handling events. IMOD
	 * allows us to work around this issue. Enable it for the
	 * affected version.
	 */
	 if (!dwc->imod_interval && (dwc->revision == DWC3_REVISION_300A))
		dwc->imod_interval = 1;

	/* issue device SoftReset too */
	ret = dwc3_core_reset(dwc);
	if (ret)