mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pengpeng Hou <hppiscas@163.com>
To: dan.scally@ideasonboard.com
Cc: jacopo.mondi@ideasonboard.com, mchehab@kernel.org,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	hppiscas@163.com
Subject: [PATCH] media: rzv2h-ivc: select V4L2_ASYNC
Date: Mon, 30 Nov 2026 20:32:40 +0800	[thread overview]
Message-ID: <20261130123240.72059-1-hppiscas@163.com> (raw)

The RZ/V2H IVC subdevice code registers and unregisters V4L2
asynchronous subdevices, but VIDEO_RZV2H_IVC does not select
V4L2_ASYNC. A built-in IVC driver can therefore reference a modular
asynchronous-subdevice provider.

Select V4L2_ASYNC to keep the provider reachable from the IVC
driver.

The issue was found by our static-analysis tool and manually reviewed.

Fixes: f0b3984d821b ("media: platform: Add Renesas Input Video Control block driver")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
AI assistance: gpt 5 (patch preparation and review).

 drivers/media/platform/renesas/rzv2h-ivc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/renesas/rzv2h-ivc/Kconfig b/drivers/media/platform/renesas/rzv2h-ivc/Kconfig
index eb6c6ce..586dc1f 100644
--- a/drivers/media/platform/renesas/rzv2h-ivc/Kconfig
+++ b/drivers/media/platform/renesas/rzv2h-ivc/Kconfig
@@ -10,6 +10,7 @@ config VIDEO_RZV2H_IVC
 	select VIDEOBUF2_DMA_CONTIG
 	select MEDIA_CONTROLLER
 	select VIDEO_V4L2_SUBDEV_API
+	select V4L2_ASYNC
 	help
           Support for the Renesas RZ/V2H(P) Input Video Control Block
           (IVC).

base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244


                 reply	other threads:[~2026-11-30 12:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261130123240.72059-1-hppiscas@163.com \
    --to=hppiscas@163.com \
    --cc=dan.scally@ideasonboard.com \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /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®