[PATCH] spi: spl022: Probe defer is no error

Mark Brown broonie at kernel.org
Fri Jun 2 04:44:56 PDT 2023


On Fri, Jun 02, 2023 at 01:11:51PM +0200, Mårten Lindahl wrote:

>  	if (status != 0) {
> -		dev_err(&adev->dev,
> -			"probe - problem registering spi master\n");
> +		if (status != -EPROBE_DEFER)
> +			dev_err(&adev->dev,
> +				"probe - problem registering spi master\n");

dev_err_probe().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230602/af6db23b/attachment.sig>


More information about the linux-arm-kernel mailing list