Re: [PATCH 02/11] usb: dwc3: st: simplify with dev_err_probe
From: Krzysztof Kozlowski <hidden>
Date: 2024-08-27 09:35:27
Also in:
imx, linux-arm-msm, linux-usb, lkml
From: Krzysztof Kozlowski <hidden>
Date: 2024-08-27 09:35:27
Also in:
imx, linux-arm-msm, linux-usb, lkml
On 27/08/2024 03:19, Thinh Nguyen wrote:
On Wed, Aug 14, 2024, Krzysztof Kozlowski wrote:quoted
Use dev_err_probe() to make the error paths a bit simpler.I think it makes more sense to note that this helps with cases of -EPROBE_DEFER than making this simpler. Regardless, this is an improvement. Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Yeah, I forgot about this argument. Getting resets can defer, so this actually solves the dmesg flood for deferred probes. Best regards, Krzysztof