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:Code inspection only. I have no SLF3S hardware and no way to inject a
slf3s_suspend() stops continuous measurement before disabling VDD. IfWas this observed to happen on real hardware or was this just deduced
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.
through code analysis?
regulator_disable() failure, so this has not been reproduced.
Thanks,
Linmao