projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc832fa
)
V4L/DVB (13799): [Mantis] Unregister frontend
author
Manu Abraham
<
[email protected]
>
Fri, 4 Dec 2009 12:01:35 +0000
(09:01 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sun, 17 Jan 2010 13:55:43 +0000
(11:55 -0200)
Signed-off-by: Manu Abraham <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb/mantis/mantis_dvb.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/mantis/mantis_dvb.c
b/drivers/media/dvb/mantis/mantis_dvb.c
index 42f658b06a668eb6e67bb728ee12f22f1a228950..9d9c5582ada8ed015789e206196682c356afb3fb 100644
(file)
--- a/
drivers/media/dvb/mantis/mantis_dvb.c
+++ b/
drivers/media/dvb/mantis/mantis_dvb.c
@@
-252,7
+252,8
@@
int __devinit mantis_dvb_init(struct mantis_pci *mantis)
err5:
tasklet_kill(&mantis->tasklet);
dvb_net_release(&mantis->dvbnet);
-
+ dvb_unregister_frontend(mantis->fe);
+ dvb_frontend_detach(mantis->fe);
err4:
mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_mem);
@@
-281,7
+282,7
@@
int __devexit mantis_dvb_exit(struct mantis_pci *mantis)
err = mantis_frontend_shutdown(mantis);
if (err != 0)
dprintk(MANTIS_ERROR, 1, "Frontend exit while POWER ON! <%d>", err);
-
+ dvb_frontend_detach(mantis->fe);
dvb_unregister_frontend(mantis->fe);
}