OpenCloudOS-Kernel/drivers/staging
Arnd Bergmann 537b5c840c media: staging/imx: always select VIDEOBUF2_DMA_CONTIG
I ran into a rare build error during randconfig testing:

drivers/staging/media/imx/imx-media-capture.o: In function `capture_stop_streaming':
imx-media-capture.c:(.text+0x224): undefined reference to `vb2_buffer_done'
drivers/staging/media/imx/imx-media-capture.o: In function `imx_media_capture_device_register':
imx-media-capture.c:(.text+0xe60): undefined reference to `vb2_queue_init'
imx-media-capture.c:(.text+0xfa0): undefined reference to `vb2_dma_contig_memops'

While VIDEOBUF2_DMA_CONTIG was already selected by the camera driver,
it wasn't necessarily there with just the base driver enabled.
This moves the 'select' statement to the top-level option to make
sure it's always available.

Fixes: 64b5a49df4 ("[media] media: imx: Add Capture Device Interface")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-27 18:10:16 -04:00
..
android Staging: ion: fix code style warning from NULL comparisons 2017-06-29 16:38:53 +02:00
board
ccree staging: ccree: fix block comment style 2017-06-29 16:38:51 +02:00
clocking-wizard
comedi staging: comedi: ni_mio_common: fix AO timer off-by-one regression 2017-07-16 09:13:53 +02:00
dgnc dgnc: fix multiple blank lines coding style problem 2017-05-25 18:56:45 +02:00
emxx_udc staging: emxx_udc: Update "reserved" registers name 2017-05-15 07:42:00 +02:00
fbtft media: staging: fbtft: make const array gamma_par_mask static 2017-07-20 15:06:08 -04:00
fsl-dpaa2 staging: fsl-mc: move mc-cmd.h contents in the public header 2017-06-29 16:38:53 +02:00
fsl-mc Staging/IIO patches for 4.13-rc1 2017-07-03 19:57:30 -07:00
fwserial
gdm724x Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
goldfish
greybus media: v4l2-flash-led-class: Create separate sub-devices for indicators 2017-08-26 20:26:35 -04:00
gs_fpgaboot
iio Merge 4.12-rc6 into staging-next 2017-06-20 10:17:45 +08:00
ks7010 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
lustre staging: lustre: ko2iblnd: check copy_from_iter/copy_to_iter return code 2017-07-18 08:36:20 +02:00
media media: staging/imx: always select VIDEOBUF2_DMA_CONTIG 2017-08-27 18:10:16 -04:00
most Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
mt29f_spinand mtd: nand: Make sure drivers not supporting SET/GET_FEATURES return -ENOTSUPP 2017-05-30 08:59:26 +02:00
netlogic net: phy: Make phy_ethtool_ksettings_get return void 2017-06-13 12:59:06 -04:00
nvec Staging: nvec: Remove FSF's mailing address 2017-04-08 12:55:25 +02:00
octeon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
octeon-usb staging: octeon-usb: use correct function for hcd cleanup 2017-05-15 07:43:55 +02:00
olpc_dcon staging: olpc_dcon: style fixes 2017-04-28 12:07:24 +02:00
rtl8188eu staging: rtl8188eu: add TL-WN722N v2 support 2017-07-18 09:04:22 +02:00
rtl8192e Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
rtl8192u Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
rtl8712 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
rtl8723bs Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
rts5208 staging/rts5208: Fix read overflow in memcpy 2017-06-06 16:16:10 +02:00
skein
sm750fb staging: sm750fb: avoid conflicting vesafb 2017-07-18 08:53:45 +02:00
speakup staging: speakup: safely register and unregister ldisc 2017-07-18 09:03:22 +02:00
typec staging: fusb302: don't bitshift __le16 type 2017-06-23 18:47:59 +02:00
unisys staging: unisys: visorhba - octal permissions 2017-06-25 16:31:21 +02:00
vboxvideo staging: vboxvideo: Add vboxvideo to drivers/staging 2017-07-17 13:04:07 +02:00
vc04_services media: staging: bcm2835-audio: make snd_pcm_hardware const 2017-08-20 08:22:19 -04:00
vme staging: vme: Use BIT macro for bit definitions 2017-05-16 13:53:23 +02:00
vt6655 staging: vt6655 - add parameter names 2017-06-25 16:31:22 +02:00
vt6656 staging: vt6656: remove unnecesary blank lines 2017-05-18 15:59:37 +02:00
wilc1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
wlan-ng Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
xgifb staging: fb_xgi: vb_table: Remove white space after tabstop 2017-06-23 19:36:49 +02:00
Kconfig staging: vboxvideo: Add vboxvideo to drivers/staging 2017-07-17 13:04:07 +02:00
Makefile staging: vboxvideo: Add vboxvideo to drivers/staging 2017-07-17 13:04:07 +02:00