mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
0ac6e141eb
commit
c5e598a6f8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user