summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-06-24 08:07:28 +0200
committerTakashi Iwai <tiwai@suse.de>2010-06-24 08:07:28 +0200
commitb415ec7041429bb2cde3419e9556049fe12bf27a (patch)
treee8b1330c1a9ab3cccf97b67eb0775b43e36221c3
parent3d8d4dcfd423b01ef7ea7c3c97720764b7adb6df (diff)
downloadlinux-3.10-b415ec7041429bb2cde3419e9556049fe12bf27a.tar.gz
linux-3.10-b415ec7041429bb2cde3419e9556049fe12bf27a.tar.bz2
linux-3.10-b415ec7041429bb2cde3419e9556049fe12bf27a.zip
ALSA: usb - Fix compile error with CONFIG_SND_DEBUG_VERBOSE=y
Replaced the forgotten cval->mixer->ctrlif. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/usb/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 035a77bd67a..c166db0057d 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -306,7 +306,7 @@ static int get_ctl_value_v1(struct usb_mixer_elem_info *cval, int request, int v
}
}
snd_printdd(KERN_ERR "cannot get ctl value: req = %#x, wValue = %#x, wIndex = %#x, type = %d\n",
- request, validx, cval->mixer->ctrlif | (cval->id << 8), cval->val_type);
+ request, validx, snd_usb_ctrl_intf(chip) | (cval->id << 8), cval->val_type);
return -EINVAL;
}