android_kernel_oneplus_msm8998/drivers/media
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
..
common b2c2: flexcop: avoid unused function warnings 2018-02-25 11:03:48 +01:00
dvb-core media: dvb_ringbuffer: Add memory barriers 2016-08-20 18:09:18 +02:00
dvb-frontends media: ts2020: avoid integer overflows on 32 bit machines 2018-02-16 20:09:45 +01:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c tc358743: fix register i2c_rd/wr functions 2018-02-25 11:03:48 +01:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci bt8xx: fix memory leak 2017-11-08 10:06:30 +01:00
platform media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2018-02-16 20:09:38 +01:00
radio [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
rc media: rc: check for integer overflow 2017-11-30 08:37:24 +00:00
tuners media: r820t: fix r820t_write_reg for KASAN 2018-02-22 15:45:02 +01:00
usb em28xx: only use mt9v011 if camera support is enabled 2018-02-25 11:03:49 +01:00
v4l2-core media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic 2018-02-16 20:09:45 +01:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c
media-devnode.c
media-entity.c [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00