Re: [PATCH 2/3] iio: pressure: dps310: reset the chip at probe

From: Rupesh Majhi

Date: Sun Nov 01 2026 - 05:59:17 EST


On Sun, 01 Nov 2026 01:04:44 +0000
Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> > Reset the chip first, as remove already does.
> Why do we do it in remove? Does it put it in a power saving mode
> or similar? It's fairly unusual to bother resetting in that path
> given as you've seen here, we pretty much have to reset in probe.

Yes, in effect. Driver leaves the chip measuring in background mode,
and soft reset returns it to standby (datasheet 4.1). It came with the
original driver without a stated reason.

Writing 0 to MEAS_CTRL would also stop it, if you'd rather not reset
there.

Rupesh