Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361252
b: refs/heads/master
c: 29240e2
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Felipe Balbi committed Mar 4, 2013
1 parent 098adad commit e138be0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fddedd8334d8b4ac6374894d5eed237d18ce1afb
refs/heads/master: 29240e2392786c39007df2f4162f3dc4680f3dec
3 changes: 3 additions & 0 deletions trunk/drivers/usb/gadget/u_uac1.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,11 @@ static int gaudio_open_snd_dev(struct gaudio *card)
snd = &card->playback;
snd->filp = filp_open(fn_play, O_WRONLY, 0);
if (IS_ERR(snd->filp)) {
int ret = PTR_ERR(snd->filp);

ERROR(card, "No such PCM playback device: %s\n", fn_play);
snd->filp = NULL;
return ret;
}
pcm_file = snd->filp->private_data;
snd->substream = pcm_file->substream;
Expand Down

0 comments on commit e138be0

Please sign in to comment.