ALSA: usb - Fix compile error with CONFIG_SND_DEBUG_VERBOSE=y
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Jun 2010 06:07:28 +0000 (08:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Jun 2010 06:07:28 +0000 (08:07 +0200)
Replaced the forgotten cval->mixer->ctrlif.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c

index 035a77b..c166db0 100644 (file)
@@ -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;
 }