From: Jaroslav Kysela Date: Tue, 17 Mar 2009 13:30:31 +0000 (+0100) Subject: ALSA: snd-hda-intel - add checks for invalid values to *query_supported_pcm() X-Git-Tag: v2.6.30-rc1~676^2~12^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee5047102cf632351c418060bfbe3b6eb5c42e7b;p=pandora-kernel.git ALSA: snd-hda-intel - add checks for invalid values to *query_supported_pcm() If ratesp or formatsp values are zero, wrong values are passed to ALSA's the PCM midlevel code. The bug is showed more later than expected. Also, clean a bit the code. Signed-off-by: Jaroslav Kysela Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed