From: Daniel Mack Date: Tue, 7 Oct 2014 12:25:13 +0000 (+0200) Subject: ALSA: usb: caiaq: check for cdev->n_streams > 1 X-Git-Tag: fixes-against-v3.18-rc2~128^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=897c329bcb2206dd025cdb7ba84831a4f3c872d0;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed