linux_dsm_epyc7002/drivers/media/usb/au0828
Arnd Bergmann c5f3f1047e media: au0828: fix VIDEO_V4L2 dependency
After the move of videobuf2 into the common directory, selecting the
au0828 driver with CONFIG_V4L2 disabled started causing a link failure,
as we now attempt to build videobuf2 but it still requires v4l2:

ERROR: "v4l2_event_pending" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined!
ERROR: "v4l2_fh_release" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined!
ERROR: "video_devdata" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined!
ERROR: "__tracepoint_vb2_buf_done" [drivers/media/common/videobuf/videobuf2-core.ko] undefined!
ERROR: "__tracepoint_vb2_dqbuf" [drivers/media/common/videobuf/videobuf2-core.ko] undefined!
ERROR: "v4l_vb2q_enable_media_source" [drivers/media/common/videobuf/videobuf2-core.ko] undefined!

We want to be able to build the core au0828 support without V4L2,
so this makes the 'select' conditional on V4L2, and refines the
dependencies in VIDEO_AU0828_V4L2 so it can only be enabled in
the exact conditions that have VIDEOBUF2_VMALLOC reachable.

Fixes: 03fbdb2fc2 ("media: move videobuf2 to drivers/media/common")
Fixes: 05439b1a36 ("[media] media: au0828 - convert to use videobuf2")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-02-26 06:57:13 -05:00
..
au0828-cards.c [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
au0828-cards.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
au0828-core.c media: au0828: fix unbalanced lock/unlock in au0828_usb_probe 2017-08-27 06:57:33 -04:00
au0828-dvb.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
au0828-i2c.c media: usb: make i2c_client const 2017-09-23 08:27:42 -04:00
au0828-input.c media: usb: add SPDX identifiers to some code I wrote 2017-12-11 07:41:11 -05:00
au0828-reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
au0828-vbi.c media: au0828/em28xx: make vb2_ops const 2017-10-27 14:13:33 +02:00
au0828-video.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
au0828.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
Kconfig media: au0828: fix VIDEO_V4L2 dependency 2018-02-26 06:57:13 -05:00
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00