diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-06-11 17:46:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-06-11 18:06:12 +0200 |
commit | 67c103664a06fa590f2990c01773dfa1dffcefdc (patch) | |
tree | 8b68605b1381b65e793222fd5c0625c642c27b35 /mm/rmap.c | |
parent | 11bcbc443a17653c65bc20029172fae76f4bcca4 (diff) | |
download | linux-67c103664a06fa590f2990c01773dfa1dffcefdc.tar.gz linux-67c103664a06fa590f2990c01773dfa1dffcefdc.tar.bz2 linux-67c103664a06fa590f2990c01773dfa1dffcefdc.zip |
ALSA: usb-audio: parse UAC2 sample rate ranges correctly
A device may report its supported sample rates in ranges rather than in
discrete triplets. The code used to only parse the MIN field instead of
properly paying attention to the MAX and RES values.
Also, handle RES values of 1 correctly and announce a continous sample
rate range in this case.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Reported-by: Alex Lee <alexlee188@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions