Re: [PATCH v3] iio: accel: adxl355: replace usleep_range() with fsleep()
From: Andy Shevchenko
Date: Tue May 12 2026 - 03:37:33 EST
On Mon, May 11, 2026 at 05:13:31PM +0100, Jonathan Cameron wrote:
> On Mon, 11 May 2026 10:27:40 +0300
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> > On Sun, May 10, 2026 at 04:38:52PM +0500, Stepan Ionichev wrote:
...
> > > No functional change.
> >
> > Strictly speaking the upper limit is not set as 10 milliseconds now,
> > but defined by the internals of fsleep(), usually +25%.
>
> I'm not following. There doesn't seem to be a statement of anything
> about the upper limit that is used - just one on it not being specified
> for the part.
I meant that switching from usleep_range() with explicit high limit is
different to implicit fsleep(). And that's a (subtle) functional change.
Hence "No functional change" is not fully true. Hope now it's clearer.
--
With Best Regards,
Andy Shevchenko