From: Russ Cox Date: Mon, 6 Aug 2007 13:37:58 +0000 (+0200) Subject: [ALSA] fix selector unit bug affecting some USB speakerphones X-Git-Tag: v2.6.24-rc1~832^2~211 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38977e96cb32e658716e11a05ec7f1fc4618e0f3;p=pandora-kernel.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed