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 035a77bd67a66576c891c7a63a3664e7b4158069..c166db0057d3e0e613954b21f8ca5274f0242741 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;
 }