This is a note to let you know that I've just added the patch titled
ALSA: usb-audio: correct the value cache check.
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-usb-audio-correct-the-value-cache-check.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 6aa6925cad06159dc6e25857991bbc4960821242 Mon Sep 17 00:00:00 2001
From: Yao-Wen Mao <[email protected]>
Date: Fri, 28 Aug 2015 16:33:25 +0800
Subject: ALSA: usb-audio: correct the value cache check.
From: Yao-Wen Mao <[email protected]>
commit 6aa6925cad06159dc6e25857991bbc4960821242 upstream.
The check of cval->cached should be zero-based (including master channel).
Signed-off-by: Yao-Wen Mao <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
sound/usb/mixer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -2522,7 +2522,7 @@ static int restore_mixer_value(struct us
for (c = 0; c < MAX_CHANNELS; c++) {
if (!(cval->cmask & (1 << c)))
continue;
- if (cval->cached & (1 << c)) {
+ if (cval->cached & (1 << (c + 1))) {
err = snd_usb_set_cur_mix_value(cval, c + 1,
idx,
cval->cache_val[idx]);
if (err < 0)
Patches currently in stable-queue which might be from [email protected] are
queue-4.2/alsa-usb-audio-correct-the-value-cache-check.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html