]> Git Repo - J-linux.git/commitdiff
media: ivsc: Depend on IPU_BRIDGE or not IPU_BRIDGE
authorSakari Ailus <[email protected]>
Thu, 13 Jun 2024 15:45:21 +0000 (18:45 +0300)
committerHans Verkuil <[email protected]>
Sat, 15 Jun 2024 09:51:23 +0000 (11:51 +0200)
The ivsc drivers may use the ipu-bridge but currently it's possible to
link the ivsc to the kernel and ipu-bridge as a module. This won't work.
Require that the ipu-bridge is either linked to the kernel or disabled if
ivsc is linked to the kernel as well, by depending on IPU_BRIDGE or
!IPU_BRIDGE.

Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 33116eb12c6b ("media: ivsc: csi: Use IPU bridge")
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
drivers/media/pci/intel/ivsc/Kconfig

index 407a800c81bc0d92bc2e2fb84bb3f2172fcc748c..a7d9607ecdc60f7f9a14c98cc1a91adf239bb8e4 100644 (file)
@@ -4,6 +4,7 @@
 config INTEL_VSC
        tristate "Intel Visual Sensing Controller"
        depends on INTEL_MEI && ACPI && VIDEO_DEV
+       depends on IPU_BRIDGE || !IPU_BRIDGE
        select MEDIA_CONTROLLER
        select VIDEO_V4L2_SUBDEV_API
        select V4L2_FWNODE
This page took 0.054117 seconds and 4 git commands to generate.