The current Kconfig symbol dependencies allow having the following Kconfig symbol values CONFIG_IPU_BRIDGE=m CONFIG_VIDEO_IPU3_CIO2=y CONFIG_CIO2_BRIDGE=n This does not work as the IPU bridge API is conditional to IS_ENABLED(CONFIG_IPU_BRIDGE). Fix this by changing the dependencies so that CONFIG_IPU_BRIDGE can be separately selected. The CONFIG_CIO2_BRIDGE symbol becomes redundant as a result and is removed. Fixes: 2545a2c02ba1 ("media: ipu3-cio2: allow ipu_bridge to be a module again") Suggested-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
20 lines
542 B
Plaintext
20 lines
542 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
source "drivers/media/pci/intel/ipu3/Kconfig"
|
|
source "drivers/media/pci/intel/ivsc/Kconfig"
|
|
|
|
config IPU_BRIDGE
|
|
tristate "Intel IPU Bridge"
|
|
depends on I2C && ACPI
|
|
help
|
|
The IPU bridge is a helper library for Intel IPU drivers to
|
|
function on systems shipped with Windows.
|
|
|
|
Currently used by the ipu3-cio2 and atomisp drivers.
|
|
|
|
Supported systems include:
|
|
|
|
- Microsoft Surface models (except Surface Pro 3)
|
|
- The Lenovo Miix line (for example the 510, 520, 710 and 720)
|
|
- Dell 7285
|