diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-09 17:59:26 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:44 -0500 |
commit | c5e598a6f89ca7335db9f327e24e3abd13d137cf (patch) | |
tree | 1ca8d64823060c4d240fa91be8ca935b4a712f9b | |
parent | 0ac6e141eb105f5845eb7066b5279709393b1c78 (diff) |
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>
-rw-r--r-- | drivers/media/dvb/mantis/mantis_dvb.c | 2 |
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 1e08e3107639..54bf4ea9efd7 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) | |||
281 | err = mantis_frontend_shutdown(mantis); | 281 | err = mantis_frontend_shutdown(mantis); |
282 | if (err != 0) | 282 | if (err != 0) |
283 | dprintk(MANTIS_ERROR, 1, "Frontend exit while POWER ON! <%d>", err); | 283 | dprintk(MANTIS_ERROR, 1, "Frontend exit while POWER ON! <%d>", err); |
284 | dvb_frontend_detach(mantis->fe); | ||
285 | dvb_unregister_frontend(mantis->fe); | 284 | dvb_unregister_frontend(mantis->fe); |
285 | dvb_frontend_detach(mantis->fe); | ||
286 | } | 286 | } |
287 | 287 | ||
288 | tasklet_kill(&mantis->tasklet); | 288 | tasklet_kill(&mantis->tasklet); |