Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285733
b: refs/heads/master
c: 2dbbac3
h: refs/heads/master
i:
  285731: 71a4f18
v: v3
  • Loading branch information
Jonathan Nieder authored and Mauro Carvalho Chehab committed Jan 6, 2012
1 parent ee8d409 commit 25c0e5f
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 01732ebaac701638aab5d7b63ea2ee14452afd33
refs/heads/master: 2dbbac330621e83d00e904d1139b62e7b360f946
9 changes: 8 additions & 1 deletion trunk/drivers/media/dvb/bt8xx/dvb-bt8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,14 +782,21 @@ static int __devinit dvb_bt8xx_load_card(struct dvb_bt8xx_card *card, u32 type)
goto err_remove_mem_frontend;
}

dvb_net_init(&card->dvb_adapter, &card->dvbnet, &card->demux.dmx);
result = dvb_net_init(&card->dvb_adapter, &card->dvbnet, &card->demux.dmx);
if (result < 0) {
printk(KERN_ERR,
"dvb_bt8xx: dvb_net_init failed (errno = %d)\n", result);
goto err_disconnect_frontend;
}

tasklet_init(&card->bt->tasklet, dvb_bt8xx_task, (unsigned long) card);

frontend_init(card, type);

return 0;

err_disconnect_frontend:
card->demux.dmx.disconnect_frontend(&card->demux.dmx);
err_remove_mem_frontend:
card->demux.dmx.remove_frontend(&card->demux.dmx, &card->fe_mem);
err_remove_hw_frontend:
Expand Down

0 comments on commit 25c0e5f

Please sign in to comment.