Re: [PATCH v10 1/4] iio: pressure: dps310: read buffered samples from the hardware FIFO
From: Rupesh Majhi
Date: Thu Oct 01 2026 - 07:35:35 EST
On Wed, Sep 30, 2026 at 01:35:12PM +0300, Andy Shevchenko wrote:
> On Wed, Sep 30, 2026 at 01:01:55PM +0300, Rupesh Majhi wrote:
...
> > + rc = devm_add_action_or_reset(dev, dps310_cancel_fifo_work, data);
>
> Are you sure it's in the correct location?
Yes, it has to run before the buffer is freed, since the work pushes
into it. devm_delayed_work_autocancel() goes here in v11.
Rupesh