diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-07 14:25:13 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-07 14:34:25 +0200 |
commit | 897c329bcb2206dd025cdb7ba84831a4f3c872d0 (patch) | |
tree | a58a29af1e316491ddb6146ab0378dbb5e5a0d36 /sound/pci/emu10k1 | |
parent | ALSA: hda - Make the inv dmic handling for Realtek use generic parser (diff) | |
download | linux-897c329bcb2206dd025cdb7ba84831a4f3c872d0.tar.xz linux-897c329bcb2206dd025cdb7ba84831a4f3c872d0.zip |
ALSA: usb: caiaq: check for cdev->n_streams > 1
Coverity spotted a possible DIV0 condition when cdev->n_streams is 0.
Fix this by making sure the value is > 1 in snd_usb_caiaq_audio_init().
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1')
0 files changed, 0 insertions, 0 deletions