Skip to content
  • Arnd Bergmann's avatar
    media: cobalt: select CONFIG_SND_PCM · c81ceb58
    Arnd Bergmann authored
    
    
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    c81ceb58