Re: [PATCH] iio: flow: slf3s: restart measurement if VDD disable fails

From: Linmao Li

Date: Wed Aug 05 2026 - 22:19:46 EST



在 2026/8/5 20:59, David Lechner 写道:
On 8/5/26 6:02 AM, Linmao Li wrote:
slf3s_suspend() stops continuous measurement before disabling VDD. If
regulator_disable() fails while the supply remains enabled, the system
sleep transition is aborted. Since the PM core does not call the
corresponding resume callback for a device whose suspend callback failed,
the sensor remains idle after the system returns to the running state and
subsequent reads fail.

Was this observed to happen on real hardware or was this just deduced
through code analysis?
Code inspection only.  I have no SLF3S hardware and no way to inject a

regulator_disable() failure, so this has not been reproduced.


Thanks,
Linmao