From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Rupesh Majhi <zoone.rupert@gmail.com>
Cc: "Andy Shevchenko" <andy@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Eddie James" <eajames@linux.ibm.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Nuno Sá" <nuno.sa@analog.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/7] iio: pressure: dps310: sort register field defines low to high
Date: Wed, 25 Nov 2026 12:30:21 +0200 [thread overview]
Message-ID: <awa4vTlfPs640DPh@ashevche-desk.local> (raw)
In-Reply-To: <20261125075036.37378-1-zoone.rupert@gmail.com>
On Wed, Nov 25, 2026 at 09:50:36AM +0200, Rupesh Majhi wrote:
> On Tue, Nov 24, 2026 at 10:13:09AM +0200, Andy Shevchenko wrote:
> > On Tue, Nov 24, 2026 at 12:06:43AM +0200, Rupesh Majhi wrote:
> > > Some field defines run from the high bit down, others from the low bit
> > > up. Sort them all low to high.
> >
> > Have you checked which change is less invasive? Can you do it locally and
> > provide diffstat
>
> High to low is less:
>
> drivers/iio/pressure/dps310.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> Went low to high as David asked for that, but datasheet lists
> the bits from 7 down, so I will sort high to low in v2.
Okay, this argument is even better! Thanks for checking and confirming this.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-11-25 10:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 22:06 [PATCH 0/7] iio: pressure: dps310: cleanups Rupesh Majhi
2026-11-23 22:06 ` [PATCH 1/7] iio: pressure: dps310: sort register field defines low to high Rupesh Majhi
2026-11-24 8:13 ` Andy Shevchenko
2026-11-25 7:50 ` Rupesh Majhi
2026-11-25 10:30 ` Andy Shevchenko [this message]
2026-11-23 22:06 ` [PATCH 2/7] iio: pressure: dps310: read the coefficients with get_unaligned_be*() Rupesh Majhi
2026-11-24 8:19 ` Andy Shevchenko
2026-11-23 22:06 ` [PATCH 3/7] iio: pressure: dps310: use min() instead of min_t() Rupesh Majhi
2026-11-23 22:06 ` [PATCH 4/7] iio: pressure: dps310: use KILO for the Pa to kPa conversion Rupesh Majhi
2026-11-24 8:26 ` Andy Shevchenko
2026-11-23 22:06 ` [PATCH 5/7] iio: pressure: dps310: use time unit macros for sleeps and timeouts Rupesh Majhi
2026-11-24 8:30 ` Andy Shevchenko
2026-11-23 22:06 ` [PATCH 6/7] iio: pressure: dps310: drop the unused i2c_set_clientdata() Rupesh Majhi
2026-11-24 8:31 ` Andy Shevchenko
2026-11-23 22:06 ` [PATCH 7/7] iio: pressure: dps310: include what the driver uses Rupesh Majhi
2026-11-24 7:03 ` Uwe Kleine-König
2026-11-25 7:50 ` Rupesh Majhi
2026-11-25 8:01 ` Joshua Crofts
2026-11-25 9:16 ` Rupesh Majhi
2026-11-24 8:24 ` Andy Shevchenko
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=awa4vTlfPs640DPh@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=eajames@linux.ibm.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=zoone.rupert@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.