From: David Lechner <dlechner@baylibre.com>
To: Andrej Valek <andrej.v@skyrain.eu>, Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org, Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Puranjay Mohan <puranjay@kernel.org>,
Jonathan Cameron <jonathan.cameron@huawei.com>,
Kessler Markus <markus.kessler@hilti.com>
Subject: Re: [PATCH v4] iio: accel: fix ADXL355 startup race condition
Date: Mon, 13 Oct 2025 09:51:57 -0500 [thread overview]
Message-ID: <ab4228f6-dba5-461a-92c8-47dd4987fe23@baylibre.com> (raw)
In-Reply-To: <6b4889b6-a806-4ecb-b6d3-ed164b821645@skyrain.eu>
On 10/13/25 2:07 AM, Andrej Valek wrote:
> Hello Jonathan,
>
>
>
> On 12.10.2025 17:26, Jonathan Cameron wrote:
>> On Mon, 6 Oct 2025 11:58:12 +0200
>> Andrej Valek <andrej.v@skyrain.eu> wrote:
>>
>>> From: Valek Andrej <andrej.v@skyrain.eu>
>>>
>>> There is an race-condition where device is not full working after SW reset.
>>> Therefore it's necessary to wait some time after reset and verify shadow
>>> registers values by reading and comparing the values before/after reset.
>>> This mechanism is described in datasheet at least from revision D.
>>>
>>> Signed-off-by: Valek Andrej <andrej.v@skyrain.eu>
>>> Signed-off-by: Kessler Markus <markus.kessler@hilti.com>
>> See submitting-patches.rst in documentation for how to format it, but as
>> requested on previous version please reply to this thread with
>> fixes tag. No need to send a new version.
> I looked into this document, and to be honest didn't find any "issues" in my patch. I used checkpatch and get_maintainer scripts and passed without errors. So what's missing then?
This patch fixes a bug, so it needs a Fixes: tag that describes
the commit that introduced the bug. This information is used to
automatically select the patch for backports to stable kernels
that have the same bug.
So Jonathan was just asking you to reply with the following line...
Fixes: 12ed27863ea3 ("iio: accel: Add driver support for ADXL355")
See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes
>>
>>
>>> ---
>> Change log missing
> What do you mean by this? I didn't find any special document for this. Or do you mean the commit message, if yes, what's missing?
Each time you submit a new revision of a patch/series it should include
a changelog of what was change compared to the previous revisions that
were submitted. And preferably a link to the previous submission as well.
Tools like b4 can automate parts of this for you.
See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#commentary
>>
>> Otherwise looks good to me.
>>
>> Jonathan
>>
>>
> BR,
> Andy
next prev parent reply other threads:[~2025-10-13 14:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-06 9:58 [PATCH v4] iio: accel: fix ADXL355 startup race condition Andrej Valek
2025-10-12 15:26 ` Jonathan Cameron
2025-10-13 7:07 ` Andrej Valek
2025-10-13 14:51 ` David Lechner [this message]
2025-10-14 7:13 ` Andrej Valek
2025-10-18 13:08 ` Jonathan Cameron
2025-10-19 10:45 ` Andrej Valek
2025-10-20 18:00 ` Jonathan Cameron
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=ab4228f6-dba5-461a-92c8-47dd4987fe23@baylibre.com \
--to=dlechner@baylibre.com \
--cc=Michael.Hennerich@analog.com \
--cc=andrej.v@skyrain.eu \
--cc=jic23@kernel.org \
--cc=jonathan.cameron@huawei.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=markus.kessler@hilti.com \
--cc=puranjay@kernel.org \
/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