diff options
author | Russ Cox <rsc@swtch.com> | 2007-08-06 15:37:58 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 15:58:26 +0200 |
commit | 38977e96cb32e658716e11a05ec7f1fc4618e0f3 (patch) | |
tree | 560a6536f198358561c558291cf5bd82ef77b661 /sound/usb/usbquirks.h | |
parent | [ALSA] au88x0: mem leak fix in snd_vortex_create() (diff) | |
download | linux-38977e96cb32e658716e11a05ec7f1fc4618e0f3.tar.xz linux-38977e96cb32e658716e11a05ec7f1fc4618e0f3.zip |
[ALSA] fix selector unit bug affecting some USB speakerphones
Following the suggestion in this thread:
https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/26683
the correct upper bound on desc[0] is 5 + num_ins not 6 + num_ins,
because the index used later is 5+i, not 6+i.
This change makes my Vosky Chatterbox speakerphone work.
Apparently it also helps with the Minivox MV100.
Signed-off-by: Russ Cox <rsc@swtch.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/usb/usbquirks.h')
0 files changed, 0 insertions, 0 deletions