Re: [PATCH v2 2/3] media: i2c: ov7251: use pm_runtime_put_autosuspend()

From: Antoine Pichot

Date: Sat Nov 28 2026 - 22:08:57 EST


Hi Robert,

Thank you for the v2. Patch 2 works well on my Surface Book 2, on top
of my v3 series with the Intel IPU3 camera interface. I compared a
module built from my v3 with one built from v3 plus your series:

- Power-off: the sensor now powers off 1.25 s after a stream stops
(the 1 s delay plus the runtime PM core's 25% timer slack). Before,
it powered off at the stop after a 1.2 s stream, and about 1 s after
the stop of a 0.2 s one, as the delay counted from power-on. I
streamed 35 or 5 frames at 30 fps with v4l2-ctl, then read the
sensor's runtime_status in sysfs every 20 ms until it read
"suspended", three times for each length.
- Restarts: a stream started within that 1.25 s gives the same strobe
registers and frame brightness as one started after the power-off,
at 30 and 60 fps. With the strobe on, I read 0x3005, 0x3b81 and the
strobe span registers over I2C 1 s into each stream, and compared
the mean brightness of lit and dark frames over 120 frames.
- Emitter: the strobe output stays enabled (0x3005 = 0x08) while the
sensor waits in standby, but the emitter goes dark when the stream
stops. I filmed it with a phone through three 3.1 s streams with the
strobe on, and no light appeared after any of the stops.

Tested-by: Antoine Pichot <antoine.pichot@xxxxxxxxx> # Surface Book 2 (IPU3)

Kind regards,
Antoine