Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270424
b: refs/heads/master
c: e8e8bab
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Mack authored and Takashi Iwai committed Sep 14, 2011
1 parent 2768738 commit c5e2bcb
Show file tree
Hide file tree
Showing 8 changed files with 473 additions and 445 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 358e2bd4a97780f5522e1666c8188a3a60a0d03c
refs/heads/master: e8e8babf561c9560f37b9bd80407ebaf90ad2ca4
1 change: 1 addition & 0 deletions trunk/sound/usb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ snd-usb-audio-objs := card.o \
pcm.o \
proc.o \
quirks.o \
stream.o \
urb.o

snd-usbmidi-lib-objs := midi.o
Expand Down
3 changes: 2 additions & 1 deletion trunk/sound/usb/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
#include "urb.h"
#include "format.h"
#include "power.h"
#include "stream.h"

MODULE_AUTHOR("Takashi Iwai <tiwai@suse.de>");
MODULE_DESCRIPTION("USB Audio");
Expand Down Expand Up @@ -185,7 +186,7 @@ static int snd_usb_create_stream(struct snd_usb_audio *chip, int ctrlif, int int
return -EINVAL;
}

if (! snd_usb_parse_audio_endpoints(chip, interface)) {
if (! snd_usb_parse_audio_interface(chip, interface)) {
usb_set_interface(dev, interface, 0); /* reset the current interface */
usb_driver_claim_interface(&usb_audio_driver, iface, (void *)-1L);
return -EINVAL;
Expand Down
Loading

0 comments on commit c5e2bcb

Please sign in to comment.