All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Laakso <antti.laakso@linux.intel.com>
To: linux-media@vger.kernel.org, miguel.vadillo@intel.com,
	sakari.ailus@linux.intel.com, mehdi.djait@linux.intel.com
Cc: antti.laakso@linux.intel.com
Subject: [PATCH 0/2] Fix for CVS getting stuck on fast subsequent capture
Date: Mon, 12 Oct 2026 22:25:23 +0300	[thread overview]
Message-ID: <cover.1791831649.git.antti.laakso@linux.intel.com> (raw)

The CVS may get stuck if sensor stops streaming mid-frame. To recover
CVS the CSI ownership need to be transferred to CVS and back to host.
This is done in CVS runtime pm suspend/resume, but it is prone to timing
related errors.

Fix is to change CSI link ownership in stream enable/disable.

The problem is reproduced and fix tested on Dell Pro13.

Antti Laakso (2):
  media: cvs: Hand CSI link to CVS on stream stop
  media: cvs: Remove runtime PM support

 drivers/media/i2c/cvs/core.c | 65 +++---------------------------------
 drivers/media/i2c/cvs/icvs.h |  2 +-
 drivers/media/i2c/cvs/v4l2.c | 40 +++++++++++-----------
 3 files changed, 24 insertions(+), 83 deletions(-)

-- 
2.55.0


             reply	other threads:[~2026-10-12 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-12 19:25 Antti Laakso [this message]
2026-10-12 19:25 ` [PATCH 1/2] media: cvs: Hand CSI link to CVS on stream stop Antti Laakso
2026-10-12 19:25 ` [PATCH 2/2] media: cvs: Remove runtime PM support Antti Laakso
2026-10-12 21:23   ` Sakari Ailus

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=cover.1791831649.git.antti.laakso@linux.intel.com \
    --to=antti.laakso@linux.intel.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mehdi.djait@linux.intel.com \
    --cc=miguel.vadillo@intel.com \
    --cc=sakari.ailus@linux.intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.