Re: [PATCH v2] iio: pressure: dps310: don't wait for new temperature in trigger handler

From: Rupesh Majhi

Date: Sun Nov 15 2026 - 13:40:01 EST


On Sun, 15 Nov 2026 01:02:03 +0000
Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> > Probe value only lasts until the next temperature result. By the
> > time the buffer starts TMP_RDY is set, so first scan takes a new
> > temperature anyway (checked on the board, buffer enabled 5 s after
> > probe). The probe read also covers direct pressure reads.
> I'm a bit lost. So how stale can it be in the direct pressure read case?

One temperature period, so 1 s at the default 1 Hz. A direct pressure
read takes new temperature result whenever TMP_RDY is set.

Probe read is for a pressure read that comes before first
temperature result after probe. That one would use temp_raw = 0.

Thanks,
Rupesh