Re: [PATCH v3 2/2] media: i2c: vd55g1: stop streaming after an exposure read error
From: Sakari Ailus
Date: Mon Nov 30 2026 - 05:45:15 EST
Hi Benjamin,
On Tue, Oct 13, 2026 at 11:24:56AM +0200, Benjamin Mugnier wrote:
> Hi,
>
> Le 13/10/2026 à 05:10, Jizhou Tong a écrit :
> > Stream-off saves exposure settings for the next automatic-exposure cold
> > start. If that read fails, its error is passed to the subsequent CCI
> > operations, which skip accesses when the error accumulator is nonzero.
> > The sensor stop command is therefore never issued, although the runtime
> > PM reference is released.
> >
> > Log the exposure snapshot failure separately and clear the accumulator
> > before stopping the sensor. Treat the optional snapshot failure as a
> > warning: a successful stop returns success, while a stop failure is
> > returned to the caller. Completing stream shutdown takes precedence
> > over saving exposure settings for the next start.
> >
> > Signed-off-by: Jizhou Tong <fqwqf@xxxxxxxxx>
>
> Reviewed-By: Benjamin Mugnier <benjamin.mugnier@xxxxxxxxxxx>
Reviewed-*b*y: -- I only noticed when Media CI failed. Just FYI. :-)
--
Regards,
Sakari Ailus