[ALSA] usbaudio - Fix Oops with broken usb descriptors
authorGregor Jasny <gjasny@web.de>
Wed, 31 Jan 2007 11:27:39 +0000 (12:27 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:03:26 +0000 (09:03 +0100)
commitbeb60119bcc9cbd80bc5b4f7feec419e067d3e46
tree06761bca06fb9e8166a002ef3e5bddd79e448d3f
parent4147dab62d1b4387c304888488e1f67a83ad53c8
[ALSA] usbaudio - Fix Oops with broken usb descriptors

This is a patch for ALSA Bug #2724. Some webcams provide bogus
settings with no valid rates. With this patch those are skipped.

Signed-off-by: Gregor Jasny <gjasny@web.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/usb/usbaudio.c