Re: [PATCH v7] iio: frequency: ad9832: simplify bitwise math
From: Jonathan Cameron
Date: Tue Apr 28 2026 - 14:09:21 EST
On Tue, 28 Apr 2026 08:40:03 +0200
Joshua Crofts <joshua.crofts1@xxxxxxxxx> wrote:
> On Sun, 19 Apr 2026 at 20:36, Joshua Crofts <joshua.crofts1@xxxxxxxxx> 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