diff options
author | Bjørn Mork <bjorn@mork.no> | 2010-11-14 18:24:36 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 11:16:48 +0100 |
commit | a22407faba57c3624beea1a9fad7cbdcf5a19a1a (patch) | |
tree | f6e2af4ef614bb254858b5db60da3b70bcb25816 /drivers/media/dvb/mantis/mantis_vp2033.h | |
parent | [media] Mantis: append tasklet maintenance for DVB stream delivery (diff) | |
download | linux-a22407faba57c3624beea1a9fad7cbdcf5a19a1a.tar.xz linux-a22407faba57c3624beea1a9fad7cbdcf5a19a1a.zip |
[media] Mantis: use dvb_attach to avoid double dereferencing on module removal
Convert the driver to use the dvb_attach macro to avoid the hard dependency
on the frontend drivers. The hard dependecy will result in loading a
number of unused frontends, and unwanted automatic dereferencing.
This fixes a bug where unloading the mantis driver will derefence any
attached frontend twice, which will cause an oops if the same frontend is
used by another driver.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_vp2033.h')
0 files changed, 0 insertions, 0 deletions