diff options
author | Russ Cox <rsc@swtch.com> | 2007-10-10 15:15:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-16 09:30:21 -0800 |
commit | b7dd3a0cebbcc0b578f7fe0d0ed1c7da655a1b46 (patch) | |
tree | bd3f0bc8f0cb8a67ded1411c075aa247a8c9947e /net/lapb/lapb_timer.c | |
parent | c249452ff213608b25ad71766800c730645777e5 (diff) |
ALSA: fix selector unit bug affecting some USB speakerphones
patch 38977e96cb32e658716e11a05ec7f1fc4618e0f3 in mainline.
[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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions