]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: synopsys: csi2rx: add missing kconfig dependency
authorMichael Riesch <michael.riesch@collabora.com>
Mon, 16 Feb 2026 12:28:48 +0000 (13:28 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 18 Mar 2026 10:21:31 +0000 (11:21 +0100)
Fix "ERROR: modpost: "phy_mipi_dphy_get_default_config_for_hsclk"
[drivers/media/platform/synopsys/dw-mipi-csi2rx.ko] undefined!" by
selecting GENERIC_PHY_MIPI_DPHY in the Kconfig entry.

Fixes: 355a11004066 ("media: synopsys: add driver for the designware mipi csi-2 receiver")
Cc: stable@kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602130253.BZnVd4jh-lkp@intel.com/
Signed-off-by: Michael Riesch <michael.riesch@collabora.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/synopsys/Kconfig

index e798ec00b1897560c7106849a41efa1604d857b3..bf2ac092fbb39d074894528931e071caf3735ab2 100644 (file)
@@ -7,6 +7,7 @@ config VIDEO_DW_MIPI_CSI2RX
        depends on VIDEO_DEV
        depends on V4L_PLATFORM_DRIVERS
        depends on PM && COMMON_CLK
+       select GENERIC_PHY_MIPI_DPHY
        select MEDIA_CONTROLLER
        select V4L2_FWNODE
        select VIDEO_V4L2_SUBDEV_API