diff options
Diffstat (limited to 'sound/usb/card.c')
-rw-r--r-- | sound/usb/card.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c index 781d9e61adfb..a3136afb2198 100644 --- a/sound/usb/card.c +++ b/sound/usb/card.c | |||
@@ -68,6 +68,7 @@ | |||
68 | #include "urb.h" | 68 | #include "urb.h" |
69 | #include "format.h" | 69 | #include "format.h" |
70 | #include "power.h" | 70 | #include "power.h" |
71 | #include "stream.h" | ||
71 | 72 | ||
72 | MODULE_AUTHOR("Takashi Iwai <tiwai@suse.de>"); | 73 | MODULE_AUTHOR("Takashi Iwai <tiwai@suse.de>"); |
73 | MODULE_DESCRIPTION("USB Audio"); | 74 | MODULE_DESCRIPTION("USB Audio"); |
@@ -185,7 +186,7 @@ static int snd_usb_create_stream(struct snd_usb_audio *chip, int ctrlif, int int | |||
185 | return -EINVAL; | 186 | return -EINVAL; |
186 | } | 187 | } |
187 | 188 | ||
188 | if (! snd_usb_parse_audio_endpoints(chip, interface)) { | 189 | if (! snd_usb_parse_audio_interface(chip, interface)) { |
189 | usb_set_interface(dev, interface, 0); /* reset the current interface */ | 190 | usb_set_interface(dev, interface, 0); /* reset the current interface */ |
190 | usb_driver_claim_interface(&usb_audio_driver, iface, (void *)-1L); | 191 | usb_driver_claim_interface(&usb_audio_driver, iface, (void *)-1L); |
191 | return -EINVAL; | 192 | return -EINVAL; |