]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: sun8i-di: Add a Kconfig dependency on RESET_CONTROLLER
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 25 Aug 2022 10:20:33 +0000 (12:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 15:00:26 +0000 (00:00 +0900)
[ Upstream commit c2a46b19f0340e6647168f4ceac4e5e4cb9197d8 ]

The driver relies on the reset controller API to work, so add
RESET_CONTROLLER as one of its Kconfig dependencies.

Fixes: a4260ea49547 ("media: sun4i: Add H3 deinterlace driver")
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/sunxi/sun8i-di/Kconfig

index ff71e06ee2dfef6c71991ef8cf88f6e815c3a659..f688396913b79116a7d8d64413c88059eec52428 100644 (file)
@@ -4,7 +4,7 @@ config VIDEO_SUN8I_DEINTERLACE
        depends on V4L_MEM2MEM_DRIVERS
        depends on VIDEO_DEV
        depends on ARCH_SUNXI || COMPILE_TEST
-       depends on COMMON_CLK && OF
+       depends on COMMON_CLK && RESET_CONTROLLER && OF
        depends on PM
        select VIDEOBUF2_DMA_CONTIG
        select V4L2_MEM2MEM_DEV