Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285736
b: refs/heads/master
c: f1d99f3
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Nieder authored and Mauro Carvalho Chehab committed Jan 6, 2012
1 parent 96976a7 commit 8ff7e70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 60826f02695476ded2fecc67949c83dc4b49def7
refs/heads/master: f1d99f39fbd0218b8f8f6548e5522cbc2124f949
5 changes: 4 additions & 1 deletion trunk/drivers/media/dvb/firewire/firedtv-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ int fdtv_dvb_register(struct firedtv *fdtv, const char *name)
if (err)
goto fail_rem_frontend;

dvb_net_init(&fdtv->adapter, &fdtv->dvbnet, &fdtv->demux.dmx);
err = dvb_net_init(&fdtv->adapter, &fdtv->dvbnet, &fdtv->demux.dmx);
if (err)
goto fail_disconnect_frontend;

fdtv_frontend_init(fdtv, name);
err = dvb_register_frontend(&fdtv->adapter, &fdtv->fe);
Expand All @@ -218,6 +220,7 @@ int fdtv_dvb_register(struct firedtv *fdtv, const char *name)

fail_net_release:
dvb_net_release(&fdtv->dvbnet);
fail_disconnect_frontend:
fdtv->demux.dmx.close(&fdtv->demux.dmx);
fail_rem_frontend:
fdtv->demux.dmx.remove_frontend(&fdtv->demux.dmx, &fdtv->frontend);
Expand Down

0 comments on commit 8ff7e70

Please sign in to comment.