lkml.org 
[lkml]   [2021]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v10 04/14] iio: afe: rescale: expose scale processing function
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.

>> + do_div(tmp, 1000000000LL);

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2021-12-21 06:44    [W:0.114 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site