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

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

Fixes: 576d196c522b ("media: sunxi: Add support for the A83T MIPI CSI-2 controller")
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-a83t-mipi-csi2/Kconfig

index 789d58ee12ea983f248f6fe95affeeaa9e0424fa..47a8c0fb7eb9f228f5cf5d8ccac376bb6d76c8b5 100644 (file)
@@ -3,7 +3,7 @@ config VIDEO_SUN8I_A83T_MIPI_CSI2
        tristate "Allwinner A83T MIPI CSI-2 Controller and D-PHY Driver"
        depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV
        depends on ARCH_SUNXI || COMPILE_TEST
-       depends on PM && COMMON_CLK
+       depends on PM && COMMON_CLK && RESET_CONTROLLER
        select MEDIA_CONTROLLER
        select VIDEO_V4L2_SUBDEV_API
        select V4L2_FWNODE