From: Jonathan Cameron <jic23@kernel.org>
To: Joshua Crofts <joshua.crofts1@gmail.com>
Cc: lars@metafoo.de, Michael.Hennerich@analog.com,
gregkh@linuxfoundation.org, dlechner@baylibre.com,
nuno.sa@analog.com, andy@kernel.org, linux-iio@vger.kernel.org,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Andy Shevchenko <andriy.shevchenko@intel.com>
Subject: Re: [PATCH v7] iio: frequency: ad9832: simplify bitwise math
Date: Tue, 28 Apr 2026 19:04:22 +0100 [thread overview]
Message-ID: <20260428190422.5d430430@jic23-huawei> (raw)
In-Reply-To: <CALoEA-wOZTTC3byrcOjhFORQbmJQFWiROtsnxScpfuA8PYMVig@mail.gmail.com>
On Tue, 28 Apr 2026 08:40:03 +0200
Joshua Crofts <joshua.crofts1@gmail.com> wrote:
> On Sun, 19 Apr 2026 at 20:36, Joshua Crofts <joshua.crofts1@gmail.com> wrote:
> >
> > Refactor the ad9832_calc_freqreg by removing the redundant u64 casts
> > and 1L bitwise left shift and replacing the multiplication by a bit
> > shift, as multiplying integers by a power of two is identical to a
> > bitwise left shift.
>
> FYI.
>
I was letting this one sit a while as we had a lot of discussion on earlier
versions. Ah well, I guess everyone is happy now.
Applied!
J
prev parent reply other threads:[~2026-04-28 18:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260419183623.86587-1-joshua.crofts1@gmail.com>
2026-04-28 6:40 ` [PATCH v7] iio: frequency: ad9832: simplify bitwise math Joshua Crofts
2026-04-28 18:04 ` Jonathan Cameron [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=20260428190422.5d430430@jic23-huawei \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=gregkh@linuxfoundation.org \
--cc=joshua.crofts1@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=nuno.sa@analog.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