ALSA: usb-audio - Fix non-continuous rate detection
commit0412558c873f716efe902b397af0653a550f7341
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2009 21:48:12 +0000 (16 22:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2009 21:48:12 +0000 (16 22:48 +0100)
treef7c775e4c156fd0ef127833798af3fd70c9d8987
parente156ac4c571e3be741bc411e58820b74a9295c72
ALSA: usb-audio - Fix non-continuous rate detection

The detection of non-continuous rates (given via rate tables) isn't
processed properly (e.g. for type II).

This patch fixes and simplifies the detection code.

Tested-by: Joris van Rantwijk <jorispubl@xs4all.nl>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c