summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2022-08-25 12:20:31 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 11:21:44 +0200
commit6a720df702db764e2b3bbdaaa217e9d344efcfb2 (patch)
treeadb6dd58a583bb7de41f756d6e14cda904dd9456
parent398c479234894c3d3347d83869760db3c406c269 (diff)
downloadlinux-stable-6a720df702db764e2b3bbdaaa217e9d344efcfb2.tar.gz
linux-stable-6a720df702db764e2b3bbdaaa217e9d344efcfb2.tar.bz2
linux-stable-6a720df702db764e2b3bbdaaa217e9d344efcfb2.zip
media: sun6i-csi: Add a Kconfig dependency on RESET_CONTROLLER
The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: 5cc7522d8965 ("media: sun6i: Add support for Allwinner CSI V3s") Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
-rw-r--r--drivers/media/platform/sunxi/sun6i-csi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/sunxi/sun6i-csi/Kconfig b/drivers/media/platform/sunxi/sun6i-csi/Kconfig
index 0345901617d4..e5b6991ce7f0 100644
--- a/drivers/media/platform/sunxi/sun6i-csi/Kconfig
+++ b/drivers/media/platform/sunxi/sun6i-csi/Kconfig
@@ -2,7 +2,7 @@
config VIDEO_SUN6I_CSI
tristate "Allwinner V3s Camera Sensor Interface driver"
depends on V4L_PLATFORM_DRIVERS
- depends on VIDEO_DEV && COMMON_CLK && HAS_DMA
+ depends on VIDEO_DEV && COMMON_CLK && RESET_CONTROLLER && HAS_DMA
depends on ARCH_SUNXI || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API