Re: [PATCH v10 04/14] iio: afe: rescale: expose scale processing function

Liam Beguin
2021-12-22T02:29:03Z

Hi Andy,

On Tue, Dec 21, 2021 at 07:43:52AM +0200, Andy Shevchenko wrote:
> On Tue, Dec 21, 2021 at 7:20 AM Andy Shevchenko
> <andy.shevchenko@gmail.com> wrote:
> > On Monday, December 20, 2021, Liam Beguin <liambeguin@gmail.com> wrote:
>
> ...
>
> >> + tmp = *val * 1000000000LL;
> >
> > I see this is the original code, but perhaps use proper SI multipliers here and there?
>
> I mean in a separate change.

Will do!

I'll add a separate patch to convert existing multipliers, and will
fixup the ones I'm adding.

Cheers,
Liam

> >> + do_div(tmp, 1000000000LL);
>
> --
> With Best Regards,
> Andy Shevchenko