sun6i-mipi-csi2: Depend on PHY_SUN6I_MIPI_DPHY
Subsystems (3)
PATCH 1/1 sun6i-mipi-csi2: Depend on PHY_SUN6I_MIPI_DPHY
PHY_SUN6I_MIPI_DPHY is not a freely selectable option and so may not always be available. Depend on it instead.
--- drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig +1 -1
@@ -4,10 +4,10 @@ config VIDEO_SUN6I_MIPI_CSI2 depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV depends on ARCH_SUNXI || COMPILE_TEST depends on PM && COMMON_CLK + depends on PHY_SUN6I_MIPI_DPHY select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE - select PHY_SUN6I_MIPI_DPHY select GENERIC_PHY_MIPI_DPHY select REGMAP_MMIO help
Signature · 1 line
2.30.2
Hi Sakari,
Quoted 2 lines · Sakari Ailus
PHY_SUN6I_MIPI_DPHYis not a freely selectable option and so may not always be available. Depend on it instead.
I don't get what you mean by "not a freely selectable option". It's definitely a tristate. Also no build issue will occur if it's unselected (but I guess that's not the point here).
Cheers,
Paul
Quoted 25 lines
Fixes 94d7fd9692b5 ("media: sunxi: Depend on GENERIC_PHY_MIPI_DPHY")Signed-off-by Sakari Ailus <[email protected]>--- drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig +1
-1@@ -4,10 +4,10 @@ config VIDEO_SUN6I_MIPI_CSI2 depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV depends on ARCH_SUNXI || COMPILE_TEST depends on PM && COMMON_CLK + depends on PHY_SUN6I_MIPI_DPHY select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE - select PHY_SUN6I_MIPI_DPHY select GENERIC_PHY_MIPI_DPHY select REGMAP_MMIO helpSignature · 1 line
2.30.2
Signature · 3 lines
Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Hi Paul,
Quoted 9 lines · Paul Kocialkowski
Hi Sakari,
Quoted 2 lines · Sakari Ailus
PHY_SUN6I_MIPI_DPHYis not a freely selectable option and so may not always be available. Depend on it instead.I don't get what you mean by "not a freely selectable option". It's definitely a tristate. Also no build issue will occur if it's unselected (but I guess that's not the point here).
It depends on a number of other configuration options. You can force the value of the option itself but not its dependencies. This can lead to build errors dependin on the values of the options PHY_SUN6I_MIPI_DPHY needs.
Signature · 1 line
Sakari Ailus
Paul Kocialkowski
Reviewed-byHi Sakari,
Quoted 9 lines · Sakari Ailus
Hi Paul,
Quoted 6 lines · Paul Kocialkowski
Hi Sakari,
Quoted 2 lines · Sakari Ailus
PHY_SUN6I_MIPI_DPHYis not a freely selectable option and so may not always be available. Depend on it instead.
Quoted 7 lines
Quoted 3 lines
I don't get what you mean by "not a freely selectable option". It's definitely a tristate. Also no build issue will occur if it's unselected (but I guess that's not the point here).
It depends on a number of other configuration options. You can force the value of the option itself but not its dependencies. This can lead to build errors dependin on the values of the options
PHY_SUN6I_MIPI_DPHYneeds.
Ah yes I see, it's the usual issue with select selecting the option regardless of its dependencies. My bad.
Thanks,
Paul
Signature · 3 lines
Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com