mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mårten Lindahl" <martenli@axis.com>
To: "Mark Brown" <broonie@kernel.org>,
	"Mårten Lindahl" <marten.lindahl@axis.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-spi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<kernel@axis.com>
Subject: Re: [PATCH] spi: spl022: Probe defer is no error
Date: Fri, 2 Jun 2023 13:54:09 +0200	[thread overview]
Message-ID: <c2420c01-1402-cc32-edae-228ef5b8506d@axis.com> (raw)
In-Reply-To: <b1c53730-6675-4c91-b891-cdbe57576759@sirena.org.uk>

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


      reply	other threads:[~2023-06-02 11:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-02 11:11 Mårten Lindahl
2023-06-02 11:44 ` Mark Brown
2023-06-02 11:54   ` Mårten Lindahl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2420c01-1402-cc32-edae-228ef5b8506d@axis.com \
    --to=martenli@axis.com \
    --cc=broonie@kernel.org \
    --cc=kernel@axis.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=marten.lindahl@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®