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

Mårten Lindahl martenli at axis.com
Fri Jun 2 04:54:09 PDT 2023


On 6/2/23 13:44, Mark Brown wrote:
> 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().

Hi Mark!

Yes, that's even better. Thanks!

Kind regards

Mårten




More information about the linux-arm-kernel mailing list