Re: [PATCH v7 12/16] media: ov2740: release group hold after gain write errors
From: Sakari Ailus
Date: Thu Oct 01 2026 - 16:06:34 EST
Hi Maurizio,
On Wed, Sep 02, 2026 at 04:53:41PM +0200, Maurizio Casciano wrote:
> Digital-gain updates start a register group before writing the red,
> green and blue gains. The current error paths return immediately when
> one of those writes fails, leaving the group open and never issuing its
> end and launch commands. Later control updates can then be accumulated
> in an unfinished group instead of taking effect.
>
> Once group hold has started, always attempt both commands needed to end
> and launch the group. Preserve the first gain-write error; report an end
> or launch error only when all gain writes succeeded.
>
> Signed-off-by: Maurizio Casciano <mauriziocasciano7@xxxxxxxxx>
> Assisted-by: LLM sparse
Can you provide a Fixes: tag for this? It should be cc'd to stable, too.
--
Regards,
Sakari Ailus