media: sunxi: Depend on GENERIC_PHY_MIPI_DPHY
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 13 Jul 2022 15:18:08 +0000 (16:18 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 15 Jul 2022 14:15:52 +0000 (15:15 +0100)
The sun6i-mipi-csi2 and sun6i-a83t-mipi-csi2 drivers depend on the generic
MIPI D-PHY support. Select it. This fixes a linking problem when either of
these drivers is enabled and GENERIC_PHY_MIPI_DPHY is disabled.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig

index b1712f5873fd9fc52263d80693d3796663df3a04..eb982466abd302f03079610c66060aa039942db3 100644 (file)
@@ -8,6 +8,7 @@ config VIDEO_SUN6I_MIPI_CSI2
        select VIDEO_V4L2_SUBDEV_API
        select V4L2_FWNODE
        select PHY_SUN6I_MIPI_DPHY
+       select GENERIC_PHY_MIPI_DPHY
        select REGMAP_MMIO
        help
           Support for the Allwinner A31 MIPI CSI-2 controller, also found on
index 5854f8388c92a2e591513febb964af01688c55ad..789d58ee12ea983f248f6fe95affeeaa9e0424fa 100644 (file)
@@ -8,5 +8,6 @@ config VIDEO_SUN8I_A83T_MIPI_CSI2
        select VIDEO_V4L2_SUBDEV_API
        select V4L2_FWNODE
        select REGMAP_MMIO
+       select GENERIC_PHY_MIPI_DPHY
        help
           Support for the Allwinner A83T MIPI CSI-2 controller and D-PHY.