# Re: \[PATCH 1/1\] usb: dwc3: imx8mp: fix error return code in dwc3\_imx8mp\_probe()

- From: Felipe Balbi \<balbi@kernel.org\>
- Date: 2021-05-10 12:52:22 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/05/6363692
- Thread: https://ratatoskr.run/linux-usb/2021/05/6361358/t.md

```text
Zhen Lei [ref] writes:

> Fix to return a negative error code from the error handling case instead
> of 0, as done elsewhere in this function.
>
> Fixes: 6dd2565989b4 ("usb: dwc3: add imx8mp dwc3 glue layer driver")
> Reported-by: Hulk Robot <redacted>
> Signed-off-by: Zhen Lei <redacted>

Acked-by: Felipe Balbi <balbi@kernel.org>

-- 
balbi
```
