mirror of https://gitee.com/openkylin/linux.git
c81ceb58e1
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cobalt-alsa-main.c | ||
cobalt-alsa-pcm.c | ||
cobalt-alsa-pcm.h | ||
cobalt-alsa.h | ||
cobalt-cpld.c | ||
cobalt-cpld.h | ||
cobalt-driver.c | ||
cobalt-driver.h | ||
cobalt-flash.c | ||
cobalt-flash.h | ||
cobalt-i2c.c | ||
cobalt-i2c.h | ||
cobalt-irq.c | ||
cobalt-irq.h | ||
cobalt-omnitek.c | ||
cobalt-omnitek.h | ||
cobalt-v4l2.c | ||
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 |