mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Cc: Jizhou Tong <fqwqf@fqwqf.xyz>,
	sylvain.petinot@foss.st.com, mchehab@kernel.org,
	hverkuil@kernel.org, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/2] media: i2c: vd55g1: stop streaming after an exposure read error
Date: Mon, 30 Nov 2026 12:45:17 +0200	[thread overview]
Message-ID: <aw1TvUO3tp3z2u96@kekkonen.localdomain> (raw)
In-Reply-To: <029be84f-fe2d-411c-87af-ce7de8af45ee@foss.st.com>

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@fqwqf.xyz>
> 
> Reviewed-By: Benjamin Mugnier <benjamin.mugnier@foss.st.com>

Reviewed-*b*y: -- I only noticed when Media CI failed. Just FYI. :-)

-- 
Regards,

Sakari Ailus

      reply	other threads:[~2026-11-30 10:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-10  9:23 [PATCH v2 0/2] media: i2c: vd55g1: preserve stream errors and always attempt stop fQwQf
2026-10-13  2:54 ` [PATCH v3 " Jizhou Tong
2026-10-13  3:10   ` [PATCH v3 1/2] media: i2c: vd55g1: preserve the stream-start error Jizhou Tong
2026-10-13  9:24     ` Benjamin Mugnier
2026-11-05 19:18     ` Jizhou Tong
2026-11-21 16:24     ` Jizhou Tong
2026-10-13  3:10   ` [PATCH v3 2/2] media: i2c: vd55g1: stop streaming after an exposure read error Jizhou Tong
2026-10-13  9:24     ` Benjamin Mugnier
2026-11-30 10:45       ` Sakari Ailus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw1TvUO3tp3z2u96@kekkonen.localdomain \
    --to=sakari.ailus@linux.intel.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=fqwqf@fqwqf.xyz \
    --cc=hverkuil@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=sylvain.petinot@foss.st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®