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> |
||
|---|---|---|
| .. | ||
| audio.c | ||
| audio.h | ||
| control.c | ||
| control.h | ||
| device.c | ||
| device.h | ||
| input.c | ||
| input.h | ||
| Makefile | ||
| midi.c | ||
| midi.h | ||