提交 68fe255c 编写于 作者: M Manu Abraham 提交者: Mauro Carvalho Chehab

V4L/DVB (13799): [Mantis] Unregister frontend

Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 bc832fa2
...@@ -252,7 +252,8 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis) ...@@ -252,7 +252,8 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis)
err5: err5:
tasklet_kill(&mantis->tasklet); tasklet_kill(&mantis->tasklet);
dvb_net_release(&mantis->dvbnet); dvb_net_release(&mantis->dvbnet);
dvb_unregister_frontend(mantis->fe);
dvb_frontend_detach(mantis->fe);
err4: err4:
mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_mem); mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_mem);
...@@ -281,7 +282,7 @@ int __devexit mantis_dvb_exit(struct mantis_pci *mantis) ...@@ -281,7 +282,7 @@ int __devexit mantis_dvb_exit(struct mantis_pci *mantis)
err = mantis_frontend_shutdown(mantis); err = mantis_frontend_shutdown(mantis);
if (err != 0) if (err != 0)
dprintk(MANTIS_ERROR, 1, "Frontend exit while POWER ON! <%d>", err); dprintk(MANTIS_ERROR, 1, "Frontend exit while POWER ON! <%d>", err);
dvb_frontend_detach(mantis->fe);
dvb_unregister_frontend(mantis->fe); dvb_unregister_frontend(mantis->fe);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册