Re: [PATCH v2 04/15] media: ipu-bridge: Allow building as module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 30, 2023 at 2:07 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
>
> After commit f54eb0ac7c1a ("media: ipu3-cio2: rename cio2 bridge to ipu
> bridge and move out of ipu3") the ipu-bridge code is always builtin

built in

> even if all (its only) consumers are build as modules.

I'm not sure I understood the remark in parentheses correctly. All of
its consumers are the only consumers of this module?

> Fix this by turning "config IPU_BRIDGE" into a pure library Kconfig
> option (not user selectable, must be selected by consumers) and
> re-introducing the CIO2_BRIDGE Kconfig bits in .../pci/intel/ipu3/Kconfig
> which were dropped to still allow building ipu3-cio2 without ipu-bridge
> support.

...

>  config IPU_BRIDGE
> -       bool "Intel IPU Sensors Bridge"
> -       depends on VIDEO_IPU3_CIO2 && ACPI
> -       depends on I2C
> -       help
> -         This extension provides an API for the Intel IPU driver to create
> -         connections to cameras that are hidden in the SSDB buffer in ACPI.
> -         It can be used to enable support for cameras in detachable / hybrid
> -         devices that ship with Windows.
> -
> -         Say Y here if your device is a detachable / hybrid laptop that comes
> -         with Windows installed by the OEM, for example:
> -
> -               - Microsoft Surface models (except Surface Pro 3)
> -               - The Lenovo Miix line (for example the 510, 520, 710 and 720)
> -               - Dell 7285
> -
> -         If in doubt, say N here.
> +       tristate
> +       depends on ACPI && I2C

Can we leave

  depends on I2C

line untouched?

-- 
With Best Regards,
Andy Shevchenko




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux