summaryrefslogtreecommitdiffstats
path: root/kernel/sound/usb/mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/usb/mixer.c')
-rw-r--r--kernel/sound/usb/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sound/usb/mixer.c b/kernel/sound/usb/mixer.c
index 8b7e391dd..cd8ed2e39 100644
--- a/kernel/sound/usb/mixer.c
+++ b/kernel/sound/usb/mixer.c
@@ -2522,7 +2522,7 @@ static int restore_mixer_value(struct usb_mixer_elem_list *list)
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)