]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: ivsc: Depend on IPU_BRIDGE or not IPU_BRIDGE
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 13 Jun 2024 15:45:21 +0000 (18:45 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 15 Jun 2024 09:51:23 +0000 (11:51 +0200)
commitfd404435d44b453d62afe77545b9252c2cc72c8a
tree30f7c433c819f611516b74485291242751a8376b
parented221d668115ff8381761f9f0a2bc8d56a975fdd
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406132238.3hXHG7nB-lkp@intel.com/
Fixes: 33116eb12c6b ("media: ivsc: csi: Use IPU bridge")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/intel/ivsc/Kconfig