[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aO-xC_cg5PtpMLfo@smile.fi.intel.com>
Date: Wed, 15 Oct 2025 17:34:51 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Francesco Lavra <flavra@...libre.com>
Cc: Andy Shevchenko <andy.shevchenko@...il.com>,
Lorenzo Bianconi <lorenzo@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] iio: imu: st_lsm6dsx: Decouple sensor ODR from FIFO
batch data rate
On Fri, Oct 10, 2025 at 08:44:50PM +0200, Francesco Lavra wrote:
> On Fri, 2025-10-10 at 17:55 +0300, Andy Shevchenko wrote:
> > On Thu, Oct 9, 2025 at 8:36 PM Francesco Lavra <flavra@...libre.com>
> > wrote:
...
> > > + ret = iio_str_to_fixpoint(buf, 100, &integer, &fract);
> > > + if (ret)
> > > + return ret;
> > > + bdr = integer * 1000 + fract;
> >
> > MILLI?
>
> If you mean replacing fract with milli, will do.
I meant 1000 --> MILLI(?) or whatever SI prefix suits better?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists