Skip to content

Commit fd40443

Browse files
Sakari AilusHans Verkuil
authored andcommitted
media: ivsc: Depend on IPU_BRIDGE or not IPU_BRIDGE
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: 33116eb ("media: ivsc: csi: Use IPU bridge") Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent ed221d6 commit fd40443

File tree

1 file changed

+1
-0
lines changed
  • drivers/media/pci/intel/ivsc

1 file changed

+1
-0
lines changed

drivers/media/pci/intel/ivsc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
config INTEL_VSC
55
tristate "Intel Visual Sensing Controller"
66
depends on INTEL_MEI && ACPI && VIDEO_DEV
7+
depends on IPU_BRIDGE || !IPU_BRIDGE
78
select MEDIA_CONTROLLER
89
select VIDEO_V4L2_SUBDEV_API
910
select V4L2_FWNODE

0 commit comments

Comments
 (0)