Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142502
b: refs/heads/master
c: a938b8c
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 7, 2009
1 parent 63eaa2c commit 00d69d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: f11ee73b0cca8a6c521cc4ac849a07ccf119fd1a
refs/heads/master: a938b8c5be8fe5c28800c9cef4aa43d569aa57a8
7 changes: 4 additions & 3 deletions trunk/drivers/media/video/cx231xx/cx231xx-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,10 @@ static int cx231xx_audio_init(struct cx231xx *dev)
cx231xx_info("cx231xx-audio.c: probing for cx231xx "
"non standard usbaudio\n");

card = snd_card_new(index[devnr], "Cx231xx Audio", THIS_MODULE, 0);
if (card == NULL)
return -ENOMEM;
err = snd_card_create(index[devnr], "Cx231xx Audio", THIS_MODULE,
0, &card);
if (err < 0)
return err;

spin_lock_init(&adev->slock);
err = snd_pcm_new(card, "Cx231xx Audio", 0, 0, 1, &pcm);
Expand Down

0 comments on commit 00d69d5

Please sign in to comment.