diff mbox series

[2/6] media: sun8i-a83t-mipi-csi2: Add a Kconfig dependency on RESET_CONTROLLER

Message ID 20220812220045.800820-2-paul.kocialkowski@bootlin.com (mailing list archive)
State New, archived
Headers show
Series [1/6] media: sun6i-mipi-csi2: Add a Kconfig dependency on RESET_CONTROLLER | expand

Commit Message

Paul Kocialkowski Aug. 12, 2022, 10 p.m. UTC
The driver relies on the reset controller API to work, so add
RESET_CONTROLLER as one of its Kconfig dependencies.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
---
 drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jernej Škrabec Aug. 14, 2022, 6:46 a.m. UTC | #1
Dne sobota, 13. avgust 2022 ob 00:00:41 CEST je Paul Kocialkowski napisal(a):
> The driver relies on the reset controller API to work, so add
> RESET_CONTROLLER as one of its Kconfig dependencies.
> 
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>

Please add fixes tag here and in the rest of the series.

Best regards,
Jernej
Paul Kocialkowski Aug. 22, 2022, 1:47 p.m. UTC | #2
Hi Jernej,

On Sun 14 Aug 22, 08:46, Jernej Škrabec wrote:
> Dne sobota, 13. avgust 2022 ob 00:00:41 CEST je Paul Kocialkowski napisal(a):
> > The driver relies on the reset controller API to work, so add
> > RESET_CONTROLLER as one of its Kconfig dependencies.
> > 
> > Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
> 
> Please add fixes tag here and in the rest of the series.

Okay I wasn't sure it was worth it since there is no build-time requirement
and no Kconfig select/depend issue here.

But I guess it doesn't hurt, so will do.

Thanks,

Paul
diff mbox series

Patch

diff --git a/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig b/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig
index 789d58ee12ea..47a8c0fb7eb9 100644
--- a/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig
+++ b/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig
@@ -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