[PATCH] media: rzv2h-ivc: select V4L2_ASYNC
From: Pengpeng Hou
Date: Mon Nov 30 2026 - 07:33:13 EST
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@xxxxxxx>
---
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