Re: [PATCH 05/16] iio: frequency: ad9523: factor out the channel divider calculation

From: Andy Shevchenko

Date: Thu Dec 03 2026 - 07:44:11 EST


On Mon, Nov 30, 2026 at 05:37:03PM +0000, Nuno Sá wrote:
> The channel divider for a given frequency is computed both when
> setting the frequency and, to get the resulting output frequency, when
> selecting the clock source. Add a small helper for it, so that both
> stay in sync.
>
> No functional change.

Why not making it part of the fix? I mean two patches to be backported, yes,
but it will make the logic much more cleaner from day 1.

--
With Best Regards,
Andy Shevchenko