linux_old1/sound/usb/caiaq
Daniel Mack 897c329bcb 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>
2014-10-07 14:34:25 +02:00
..
Makefile ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes 2009-04-14 13:31:17 +02:00
audio.c ALSA: usb: caiaq: check for cdev->n_streams > 1 2014-10-07 14:34:25 +02:00
audio.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00
control.c ALSA: snd-usb-caiaq: Fix LED commands for Kore controller 2014-09-22 08:52:14 +02:00
control.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00
device.c ALSA: usb: Convert to snd_card_new() with a device pointer 2014-02-12 11:18:00 +01:00
device.h ALSA: snd-usb-caiaq: LED support for Maschine Controller 2013-09-30 11:19:16 +02:00
input.c ALSA: usb-audio: caiaq: fix endianness bug in snd_usb_caiaq_maschine_dispatch 2013-04-30 09:19:02 +02:00
input.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00
midi.c ALSA: snd-usb-caiaq: switch to dev_*() logging 2013-03-04 09:57:26 +01:00
midi.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00