From: "Ardelean, Alexandru" <alexandru.Ardelean@analog.com>
To: "broonie@kernel.org" <broonie@kernel.org>
Cc: "linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"mark.rutland@arm.com" <mark.rutland@arm.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"jic23@kernel.org" <jic23@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Hennerich, Michael" <Michael.Hennerich@analog.com>,
"robh+dt@kernel.org" <robh+dt@kernel.org>
Subject: Re: [PATCH 1/4][V2] drivers: spi: core: Add optional delay between cs_change transfers
Date: Thu, 18 Jul 2019 13:36:54 +0000 [thread overview]
Message-ID: <3b5c33bb4f3ed4bb73304f1034184a683107ea55.camel@analog.com> (raw)
In-Reply-To: <20190718125008.GD5761@sirena.org.uk>
On Thu, 2019-07-18 at 13:50 +0100, Mark Brown wrote:
> On Wed, Jul 17, 2019 at 02:51:06PM +0300, Alexandru Ardelean wrote:
> > Some devices like the ADIS16460 IMU require a stall period between
> > transfers, i.e. between when the CS is de-asserted and re-asserted. The
> > default value of 10us is not enough. This change makes the delay
> > configurable for when the next CS change goes active.
>
> To repeat my previous feedback:
>
> > This looks like cs_change_delay.
Ack.
Will use `cs_change_delay`.
I have no strong preference regarding the name.
>
> Please use subject lines matching the style for the subsystem. This
> makes it easier for people to identify relevant patches.
Ack.
Will look for SPI subsystem specific subject lines and use them.
>
> Please don't ignore review comments, people are generally making them
> for a reason and are likely to have the same concerns if issues remain
> unaddressed. Having to repeat the same comments can get repetitive and
> make people question the value of time spent reviewing. If you disagree
> with the review comments that's fine but you need to reply and discuss
> your concerns so that the reviewer can understand your decisions.
[ the following part should not be considered in a disrespectful tone ; the intent is nowhere near that, but text-
communication has a design-flaw where a disrespectful tone may be interpreted [where there isn't one] ]
My intent wasn't to ignore the review comment.
Sorry if it came out like that.
I assumed a patch re-spin was preferred vs a verbal discussion.
Some people prefer patch re-spins as a basis for discussion.
Various people have various preferences.
Also, I wasn't sure how soon I'd get a reply back on this, since various people/maintainers have various reply-times.
And I also [sometimes] have longer reply-back-times [which doesn't help either].
And I wasn't sure if `cs_change_delay` was fully intentional/ad-literam, or whether it was a feedback of the sorts
"along-the-lines of `cs_change_delay`".
While looking at `struct spi_transfer` the other "delay" fields seem to be: `word_delay_usecs` & `delay_usecs`, which is
why I assumed `cs_change_delay_usecs` was preferred [though I will admit, it is a long var-name].
And the conclusion [from my side] is: maybe I rushed this a bit and maybe it annoyed you.
Not my intention, and it'll take me a bit to adjust to your style.
Moving forward.
1. I will use `cs_change_delay` as field name
2. I will use SPI subsystem subject line; I will admit I forget this stuff periodically
Is there anything else I should consider?
Or anything else to discuss?
I'm open to elements I may have forgotten/omitted unintentionally.
Thanks
Alex
next prev parent reply other threads:[~2019-07-18 13:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-17 11:51 [PATCH 0/4][V2] iio: imu: Add support for the ADIS16460 IMU Alexandru Ardelean
2019-07-17 11:51 ` [PATCH 1/4][V2] drivers: spi: core: Add optional delay between cs_change transfers Alexandru Ardelean
2019-07-18 12:50 ` Mark Brown
2019-07-18 13:36 ` Ardelean, Alexandru [this message]
2019-07-17 11:51 ` [PATCH 2/4][V2] iio: imu: adis: Add support for SPI transfer cs_change_delay_usecs Alexandru Ardelean
2019-07-17 11:51 ` [PATCH 3/4][V2] iio: imu: Add support for the ADIS16460 IMU Alexandru Ardelean
2019-07-17 11:51 ` [PATCH 4/4][V2] dt-bindings: iio: imu: add bindings for ADIS16460 Alexandru Ardelean
2019-07-19 22:49 ` Rob Herring
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=3b5c33bb4f3ed4bb73304f1034184a683107ea55.camel@analog.com \
--to=alexandru.ardelean@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).