Re: [PATCH v3 2/2] iio: frequency: ad9832: simplify bitwise math
From: Joshua Crofts
Date: Tue Apr 14 2026 - 05:53:29 EST
On Tue, 14 Apr 2026 at 11:44, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
> It can even be just like this:
>
> u64 freqreg = fout * BIT_ULL(AD9832_FREQ_BITS);
>
> if I understand the integer promotion for unsigned types here
> and the * operator correctly.
Sure, at least I'll ensure that the reviewed-by tag is incorporated
correctly.
--
Kind regards
CJD