summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-09 19:59:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:44 -0200
commitc5e598a6f89ca7335db9f327e24e3abd13d137cf (patch)
tree1ca8d64823060c4d240fa91be8ca935b4a712f9b /drivers/media/dvb
parent0ac6e141eb105f5845eb7066b5279709393b1c78 (diff)
downloadop-kernel-dev-c5e598a6f89ca7335db9f327e24e3abd13d137cf.zip
op-kernel-dev-c5e598a6f89ca7335db9f327e24e3abd13d137cf.tar.gz
V4L/DVB (13805): Fix: Unregister the frontend before detaching
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c
index 1e08e31..54bf4ea 100644
--- a/drivers/media/dvb/mantis/mantis_dvb.c
+++ b/drivers/media/dvb/mantis/mantis_dvb.c
@@ -281,8 +281,8 @@ 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);
+ dvb_frontend_detach(mantis->fe);
}
tasklet_kill(&mantis->tasklet);
OpenPOWER on IntegriCloud