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
..
2014-06-16 11:39:45 +02:00
2014-10-06 14:01:11 +02:00
2014-09-15 15:52:03 +02:00
2014-08-15 18:06:56 -06:00
2014-06-16 11:39:45 +02:00