aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/hd.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2009-03-17 14:30:31 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-18 07:50:44 +0100
commitee5047102cf632351c418060bfbe3b6eb5c42e7b (patch)
tree18819b5810d5d36aacd79a0d9a12dfceeb97fb0e /drivers/block/hd.c
parentb9591448e5160ccd353d8547ade018cfdf2b3e09 (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>
Diffstat (limited to 'drivers/block/hd.c')
0 files changed, 0 insertions, 0 deletions