git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d36a7d
)
ALSA: usb: caiaq: check for cdev->n_streams > 1
author
Daniel Mack
<daniel@zonque.org>
Tue, 7 Oct 2014 12:25:13 +0000
(14:25 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 7 Oct 2014 12:34:25 +0000
(14:34 +0200)
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>
No differences found