[<prev] [next>] [day] [month] [year] [list]
Message-Id: <8c124554f64cf107ac29280580e5e9ab68ea3193.1721661863.git.geert+renesas@glider.be>
Date: Mon, 22 Jul 2024 17:25:53 +0200
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
Sebastian Fricke <sebastian.fricke@...labora.com>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Devarsh Thakkar <devarsht@...com>,
Benjamin Gaignard <benjamin.gaignard@...labora.com>,
David Huang <d-huang@...com>
Cc: Nishanth Menon <nm@...com>,
Vignesh Raghavendra <vigneshr@...com>,
Tero Kristo <kristo@...nel.org>,
linux-media@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH] media: imagination: VIDEO_E5010_JPEG_ENC should depend on ARCH_K3
Currently, the Imagination E5010 JPEG Encoder is only present on Texas
Instruments K3 SoCs. Hence add a dependency on ARCH_K3, to prevent
asking the user about this driver when configuring a kernel without TI
K3 SoC support. The dependency can be relaxed if/when the encoder
appears on other SoC families.
Fixes: a1e2940458853d00 ("media: imagination: Add E5010 JPEG Encoder driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
drivers/media/platform/imagination/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/imagination/Kconfig b/drivers/media/platform/imagination/Kconfig
index 7139ae22219b43c6..a302c955483dca80 100644
--- a/drivers/media/platform/imagination/Kconfig
+++ b/drivers/media/platform/imagination/Kconfig
@@ -2,6 +2,7 @@
config VIDEO_E5010_JPEG_ENC
tristate "Imagination E5010 JPEG Encoder Driver"
depends on VIDEO_DEV
+ depends on ARCH_K3 || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG
select VIDEOBUF2_VMALLOC
select V4L2_MEM2MEM_DEV
--
2.34.1
Powered by blists - more mailing lists