Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143638
b: refs/heads/master
c: a405f43
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Beregalov authored and Greg Kroah-Hartman committed Apr 17, 2009
1 parent b72fcf0 commit 109c7d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: cea96778196dcf7127d6bbbf296c1651848650f2
refs/heads/master: a405f43ee336fb890fd967625cc133f9d2e59a9f
9 changes: 5 additions & 4 deletions trunk/drivers/staging/line6/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ int line6_init_audio(struct usb_line6 *line6)
{
static int dev;
struct snd_card *card;
int err;

card = snd_card_new(line6_index[dev], line6_id[dev], THIS_MODULE, 0);

if (card == NULL)
return -ENOMEM;
err = snd_card_create(line6_index[dev], line6_id[dev], THIS_MODULE, 0,
&card);
if (err < 0)
return err;

line6->card = card;

Expand Down

0 comments on commit 109c7d7

Please sign in to comment.