Re: [PATCH v2 02/20] media: Kconfig: not all V4L2 platform drivers are for camera

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

 



On Tue, 24 Mar 2020 at 11:26, Mauro Carvalho Chehab
<mchehab+huawei@xxxxxxxxxx> wrote:
>
> When the platform drivers got added, they were all part of
> complex camera support. This is not the case anymore, as we
> now have codecs and other stuff there too.
>
> So, fix the dependencies, in order to not require users to
> manually select something that it doesn't make sense.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
>  drivers/media/Kconfig          | 3 +--
>  drivers/media/platform/Kconfig | 1 -
>  2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
> index 9dfea5c4b6ab..4af21fa73fcf 100644
> --- a/drivers/media/Kconfig
> +++ b/drivers/media/Kconfig
> @@ -99,8 +99,7 @@ source "drivers/media/mc/Kconfig"
>  config VIDEO_DEV
>         tristate
>         depends on MEDIA_SUPPORT
> -       depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
> -       default y
> +       default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || V4L_PLATFORM_DRIVERS
>

This is missing V4L_MEM2MEM_DRIVERS. Without, some mem-to-mem drivers
will be hidden.

Thanks,
Ezequiel



[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