[PATCH] PCI: imx6: Do not output error message when devm_clk_get() failed with -EPROBE_DEFER

Anson Huang anson.huang at nxp.com
Mon Aug 10 21:36:26 EDT 2020


Hi, Lucas


> Subject: Re: [PATCH] PCI: imx6: Do not output error message when
> devm_clk_get() failed with -EPROBE_DEFER
> 
> Am Dienstag, den 04.08.2020, 13:38 +0800 schrieb Anson Huang:
> > When devm_clk_get() returns -EPROBE_DEFER, i.MX6 PCI driver should NOT
> > print error message, just return -EPROBE_DEFER is enough.
> 
> The reasoning behind this change is fine, but I think we should use the recently
> merged dev_err_probe() helper to achieve the same goal.

Ah, yes, just notice this new API added, please help review V2, thanks.

Anson



More information about the linux-arm-kernel mailing list