Skip to content

Commit

Permalink
V4L/DVB (13805): Fix: Unregister the frontend before detaching
Browse files Browse the repository at this point in the history
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 0ac6e14 commit c5e598a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/mantis/mantis_dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c5e598a

Please sign in to comment.