diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index 9ebbbd4dee6d..93bb0fda36b5 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -334,10 +334,15 @@ CONFIG_MFD_ACT8945A=y CONFIG_MFD_SYSCON=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_MEDIA_CEC_SUPPORT=y -CONFIG_MEDIA_SUPPORT_FILTER=y -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_PLATFORM_SUPPORT=y +# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set +# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set +# CONFIG_MEDIA_RADIO_SUPPORT is not set +# CONFIG_MEDIA_SDR_SUPPORT is not set +# CONFIG_MEDIA_TEST_SUPPORT is not set +CONFIG_VIDEO_V4L2_SUBDEV_API=y +CONFIG_MEDIA_USB_SUPPORT=y +CONFIG_USB_VIDEO_CLASS=y +CONFIG_USB_GSPCA=y CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_V4L_MEM2MEM_DRIVERS=y # CONFIG_VGA_ARB is not set diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index 23af11279f47..780d79ea74a6 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -289,10 +289,15 @@ CONFIG_WATCHDOG_CORE=y CONFIG_MFD_SYSCON=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_MEDIA_CEC_SUPPORT=y -CONFIG_MEDIA_SUPPORT_FILTER=y -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_PLATFORM_SUPPORT=y +# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set +# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set +# CONFIG_MEDIA_RADIO_SUPPORT is not set +# CONFIG_MEDIA_SDR_SUPPORT is not set +# CONFIG_MEDIA_TEST_SUPPORT is not set +CONFIG_VIDEO_V4L2_SUBDEV_API=y +CONFIG_MEDIA_USB_SUPPORT=y +CONFIG_USB_VIDEO_CLASS=y +CONFIG_USB_GSPCA=y CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_DRM=y diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index a6d073f2e036..5d93e5773e47 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -66,8 +66,7 @@ menu "Media device types" # Multimedia support - automatically enable V4L2 and DVB core # config MEDIA_CAMERA_SUPPORT - bool - prompt "Cameras and video grabbers" if MEDIA_SUPPORT_FILTER + bool "Cameras and video grabbers" default y if !MEDIA_SUPPORT_FILTER help Enable support for webcams and video grabbers. @@ -75,8 +74,7 @@ config MEDIA_CAMERA_SUPPORT Say Y when you have a webcam or a video capture grabber board. config MEDIA_ANALOG_TV_SUPPORT - bool - prompt "Analog TV" if MEDIA_SUPPORT_FILTER + bool "Analog TV" default y if !MEDIA_SUPPORT_FILTER help Enable analog TV support. @@ -89,8 +87,7 @@ config MEDIA_ANALOG_TV_SUPPORT will disable support for them. config MEDIA_DIGITAL_TV_SUPPORT - bool - prompt "Digital TV" if MEDIA_SUPPORT_FILTER + bool "Digital TV" default y if !MEDIA_SUPPORT_FILTER help Enable digital TV support. @@ -99,8 +96,7 @@ config MEDIA_DIGITAL_TV_SUPPORT hybrid digital TV and analog TV. config MEDIA_RADIO_SUPPORT - bool - prompt "AM/FM radio receivers/transmitters" if MEDIA_SUPPORT_FILTER + bool "AM/FM radio receivers/transmitters" default y if !MEDIA_SUPPORT_FILTER help Enable AM/FM radio support. @@ -115,8 +111,7 @@ config MEDIA_RADIO_SUPPORT disable support for them. config MEDIA_SDR_SUPPORT - bool - prompt "Software defined radio" if MEDIA_SUPPORT_FILTER + bool "Software defined radio" default y if !MEDIA_SUPPORT_FILTER help Enable software defined radio support. @@ -124,8 +119,7 @@ config MEDIA_SDR_SUPPORT Say Y when you have a software defined radio device. config MEDIA_PLATFORM_SUPPORT - bool - prompt "Platform-specific devices" if MEDIA_SUPPORT_FILTER + bool "Platform-specific devices" default y if !MEDIA_SUPPORT_FILTER help Enable support for complex cameras, codecs, and other hardware @@ -138,8 +132,7 @@ config MEDIA_PLATFORM_SUPPORT Say Y when you want to be able so see such devices. config MEDIA_TEST_SUPPORT - bool - prompt "Test drivers" if MEDIA_SUPPORT_FILTER + bool "Test drivers" default y if !MEDIA_SUPPORT_FILTER help Those drivers should not be used on production Kernels, but