OpenCloudOS-Kernel/drivers/media/pci/cobalt
Arnd Bergmann c81ceb58e1 media: cobalt: select CONFIG_SND_PCM
The cobalt sound driver has a dependency on ALSA, but not
on the PCM helper code, so this can lead to an extremely
rare link error in randconfig builds:

ERROR: "snd_pcm_period_elapsed" [drivers/media/pci/cobalt/cobalt.ko] undefined!
ERROR: "_snd_pcm_stream_lock_irqsave" [drivers/media/pci/cobalt/cobalt.ko] undefined!
ERROR: "snd_pcm_hw_constraint_integer" [drivers/media/pci/cobalt/cobalt.ko] undefined!
ERROR: "snd_pcm_set_ops" [drivers/media/pci/cobalt/cobalt.ko] undefined!
ERROR: "snd_pcm_stream_unlock_irqrestore" [drivers/media/pci/cobalt/cobalt.ko] undefined!
ERROR: "snd_pcm_lib_ioctl" [drivers/media/pci/cobalt/cobalt.ko] undefined!
ERROR: "snd_pcm_new" [drivers/media/pci/cobalt/cobalt.ko] undefined!

The other audio drivers select 'SND_PCM' for this, so let's
do the same.

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-01-23 08:05:01 -05:00
..
Kconfig media: cobalt: select CONFIG_SND_PCM 2018-01-23 08:05:01 -05:00
Makefile
cobalt-alsa-main.c
cobalt-alsa-pcm.c media: pci: make snd_pcm_hardware const 2017-08-20 08:05:21 -04:00
cobalt-alsa-pcm.h
cobalt-alsa.h
cobalt-cpld.c [media] cobalt: fix spelling mistake: "Celcius" -> "Celsius" 2017-01-30 15:45:06 -02:00
cobalt-cpld.h
cobalt-driver.c media: cobalt: do not register subdev nodes 2017-09-23 14:58:22 -04:00
cobalt-driver.h [media] media/cobalt: use pci_irq_allocate_vectors 2016-12-21 07:04:42 -02:00
cobalt-flash.c [media] cobalt: fix sparse warnings 2015-05-30 11:20:50 -03:00
cobalt-flash.h
cobalt-i2c.c media: pci: make i2c_adapter const 2017-08-26 08:41:15 -04:00
cobalt-i2c.h
cobalt-irq.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
cobalt-irq.h
cobalt-omnitek.c [media] cobalt: fix compiler warnings on 32 bit OSes 2015-05-30 11:19:51 -03:00
cobalt-omnitek.h
cobalt-v4l2.c [media] cobalt: fix copy-and-paste error 2016-11-16 15:28:13 -02:00
cobalt-v4l2.h
m00233_video_measure_memmap_package.h
m00235_fdma_packer_memmap_package.h
m00389_cvi_memmap_package.h
m00460_evcnt_memmap_package.h
m00473_freewheel_memmap_package.h
m00479_clk_loss_detector_memmap_package.h
m00514_syncgen_flow_evcnt_memmap_package.h