ALSA: usb/mixer - use get_iface_desc() rather than direct structure
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 1deef62..21613fe 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -2055,7 +2055,7 @@
}
host_iface = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0];
- mixer->protocol = host_iface->desc.bInterfaceProtocol;
+ mixer->protocol = get_iface_desc(host_iface)->bInterfaceProtocol;
if ((err = snd_usb_mixer_controls(mixer)) < 0 ||
(err = snd_usb_mixer_status_create(mixer)) < 0)