diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-04-16 10:32:54 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-04-16 10:37:50 +0200 |
commit | ca4c2adaf2d7efcc43e16c8010cf4c30def75058 (patch) | |
tree | 86f6d441302d5665cc025a78c96879022320994e /sound/usb | |
parent | f09d045e2a61d2fdae3d0127208f18c9f44acf80 (diff) | |
download | kernel_samsung_crespo-ca4c2adaf2d7efcc43e16c8010cf4c30def75058.zip kernel_samsung_crespo-ca4c2adaf2d7efcc43e16c8010cf4c30def75058.tar.gz kernel_samsung_crespo-ca4c2adaf2d7efcc43e16c8010cf4c30def75058.tar.bz2 |
ALSA: usb/mixer - use get_iface_desc() rather than direct structure
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif, } 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) |