Skip to content

Commit

Permalink
ALSA: usb - Fix compile error with CONFIG_SND_DEBUG_VERBOSE=y
Browse files Browse the repository at this point in the history
Replaced the forgotten cval->mixer->ctrlif.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jun 24, 2010
1 parent 3d8d4dc commit b415ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/usb/mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b415ec7

Please sign in to comment.