Commit 628f67b8 authored by Angus Ainslie (Purism)'s avatar Angus Ainslie (Purism) Committed by Guido Gunther
Browse files

Revert "usb: dwc3: Do core validation early on probe"

This commit causes the librem5-devkit to hang during boot.

This reverts commit b873e2d0.
parent 933bae84
......@@ -906,6 +906,12 @@ static int dwc3_core_init(struct dwc3 *dwc)
u32 reg;
int ret;
if (!dwc3_core_is_valid(dwc)) {
dev_err(dwc->dev, "this is not a DesignWare USB3 DRD Core\n");
ret = -ENODEV;
goto err0;
}
/*
* Write Linux Version Code to our GUID register so it's easy to figure
* out which kernel version a bug was found.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment