mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: rzv2h-ivc: select V4L2_ASYNC
@ 2026-11-30 12:32 Pengpeng Hou
  0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-11-30 12:32 UTC (permalink / raw)
  To: dan.scally; +Cc: jacopo.mondi, mchehab, linux-media, linux-kernel, hppiscas

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 12:32 [PATCH] media: rzv2h-ivc: select V4L2_ASYNC Pengpeng Hou

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®