[PATCH 02/11] usb: dwc3: st: simplify with dev_err_probe

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Tue Aug 27 02:35:23 PDT 2024


On 27/08/2024 03:19, Thinh Nguyen wrote:
> On Wed, Aug 14, 2024, Krzysztof Kozlowski wrote:
>> 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 at 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




More information about the linux-arm-kernel mailing list