Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285732
b: refs/heads/master
c: 01732eb
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Nieder authored and Mauro Carvalho Chehab committed Jan 6, 2012
1 parent 71a4f18 commit ee8d409
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 42702de248d9edff22efe25e275c211a5bb80baf
refs/heads/master: 01732ebaac701638aab5d7b63ea2ee14452afd33
8 changes: 7 additions & 1 deletion trunk/drivers/media/dvb/b2c2/flexcop.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,17 @@ static int flexcop_dvb_init(struct flexcop_device *fc)
goto err_connect_frontend;
}

dvb_net_init(&fc->dvb_adapter, &fc->dvbnet, &fc->demux.dmx);
ret = dvb_net_init(&fc->dvb_adapter, &fc->dvbnet, &fc->demux.dmx);
if (ret < 0) {
err("dvb_net_init failed: error %d", ret);
goto err_net;
}

fc->init_state |= FC_STATE_DVB_INIT;
return 0;

err_net:
fc->demux.dmx.disconnect_frontend(&fc->demux.dmx);
err_connect_frontend:
fc->demux.dmx.remove_frontend(&fc->demux.dmx, &fc->mem_frontend);
err_dmx_add_mem_frontend:
Expand Down

0 comments on commit ee8d409

Please sign in to comment.