Re: [PATCH v3 2/2] iio: frequency: ad9832: simplify bitwise math

Joshua Crofts
2026-04-14T09:51:05Z

On Tue, 14 Apr 2026 at 11:44, Andy Shevchenko
<andriy.shevchenko@intel.com> 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