commit | ee5047102cf632351c418060bfbe3b6eb5c42e7b | [log] [tgz] |
---|---|---|
author | Jaroslav Kysela <perex@perex.cz> | Tue Mar 17 14:30:31 2009 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Mar 18 07:50:44 2009 +0100 |
tree | 18819b5810d5d36aacd79a0d9a12dfceeb97fb0e | |
parent | b9591448e5160ccd353d8547ade018cfdf2b3e09 [diff] |
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 <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>