android_kernel_oneplus_msm8998/drivers/media/usb/em28xx
Arnd Bergmann b17b3fdc76 em28xx: only use mt9v011 if camera support is enabled
commit 190b23b4eb997767afad186bd8c96badceabf39e upstream.

In randconfig builds that select VIDEO_EM28XX_V4L2 and
MEDIA_SUBDRV_AUTOSELECT, but not MEDIA_CAMERA_SUPPORT, we get
a Kconfig warning:

 warning: (VIDEO_EM28XX_V4L2) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT && I2C && VIDEO_V4L2 && MEDIA_CAMERA_SUPPORT)

This avoids the warning by making that 'select' conditional on
MEDIA_CAMERA_SUPPORT. Alternatively we could mark EM28XX as
'depends on MEDIA_CAMERA_SUPPORT', but it does not seem to
have any real dependency on that itself.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:49 +01:00
..
em28xx-audio.c [media] em28xx-audio: fix missing newlines 2014-12-23 14:46:07 -02:00
em28xx-camera.c [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
em28xx-cards.c [media] Basic support for the Elgato EyeTV Hybrid INT 2008 USB Stick 2015-03-03 11:20:50 -03:00
em28xx-core.c [media] em28xx-core: fix missing newlines 2014-12-23 14:46:05 -02:00
em28xx-dvb.c [media] em28xx: remove unused a8293 SEC config 2015-08-11 07:08:01 -03:00
em28xx-i2c.c em28xx-i2c: rt_mutex_trylock() returns zero on failure 2016-10-07 15:23:44 +02:00
em28xx-input.c [media] em28xx-input: fix missing newlines 2014-12-23 14:46:04 -02:00
em28xx-reg.h [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-v4l.h [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-vbi.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
em28xx-video.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
em28xx.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
Kconfig em28xx: only use mt9v011 if camera support is enabled 2018-02-25 11:03:49 +01:00
Makefile [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00