aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/mixer.c')
-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 1deef623c081..21613fe0c1a2 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -2055,7 +2055,7 @@ int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
2055 } 2055 }
2056 2056
2057 host_iface = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0]; 2057 host_iface = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0];
2058 mixer->protocol = host_iface->desc.bInterfaceProtocol; 2058 mixer->protocol = get_iface_desc(host_iface)->bInterfaceProtocol;
2059 2059
2060 if ((err = snd_usb_mixer_controls(mixer)) < 0 || 2060 if ((err = snd_usb_mixer_controls(mixer)) < 0 ||
2061 (err = snd_usb_mixer_status_create(mixer)) < 0) 2061 (err = snd_usb_mixer_status_create(mixer)) < 0)