Browse Source

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>
Takashi Iwai 15 năm trước cách đây
mục cha
commit
b415ec7041
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      sound/usb/mixer.c

+ 1 - 1
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",
 	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;
 	return -EINVAL;
 }
 }