diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 09:01:35 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 11:55:43 -0200 |
commit | 68fe255cd15cf1fe04877fbbb0eafe80c43eff5d (patch) | |
tree | 2d6dc8cee4b9fbac64bd1d39136eec5a141ddeb3 /drivers/media/dvb | |
parent | bc832fa2c0310c25ed60204616ccef4f8db088f3 (diff) | |
download | op-kernel-dev-68fe255cd15cf1fe04877fbbb0eafe80c43eff5d.zip op-kernel-dev-68fe255cd15cf1fe04877fbbb0eafe80c43eff5d.tar.gz |
V4L/DVB (13799): [Mantis] Unregister frontend
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_dvb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c index 42f658b..9d9c558 100644 --- 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); } |