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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 21, 2021 at 7:20 AM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Monday, December 20, 2021, Liam Beguin <liambeguin@xxxxxxxxx> 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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux