]> git.itanic.dy.fi Git - linux-stable/commitdiff
media: chips-media: wave5: VIDEO_WAVE_VPU should depend on ARCH_K3
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Nov 2023 18:26:36 +0000 (19:26 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 7 Dec 2023 07:31:14 +0000 (08:31 +0100)
The Chips&Media Wave 5 Series multi-standard codec IP is currently only
supported on Texas Instruments K3 architecture.  Hence add a dependency on
ARCH_K3, to prevent asking the user about this driver when configuring a
kernel without Texas Instruments K3 Multicore SoC support.

Fixes: 9707a6254a8a ("media: chips-media: wave5: Add the v4l2 layer")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: small update in commit log, and reformatted the Fixes tag]

drivers/media/platform/chips-media/wave5/Kconfig

index 77e7ae5c8f35f454481fcdf7354211c83f294f40..9ccc1f7e32f3874f78174417fc23275549f9f62f 100644 (file)
@@ -3,6 +3,7 @@ config VIDEO_WAVE_VPU
        tristate "Chips&Media Wave Codec Driver"
        depends on V4L_MEM2MEM_DRIVERS
        depends on VIDEO_DEV && OF
+       depends on ARCH_K3 || COMPILE_TEST
        select VIDEOBUF2_DMA_CONTIG
        select VIDEOBUF2_VMALLOC
        select V4L2_MEM2MEM_DEV