summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarco Schluessler <marco@lordzodiac.de>2007-01-31 17:32:29 (GMT)
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 15:35:09 (GMT)
commite19c55ffb984c2db28191d8aa4400bb81ecd756d (patch)
treee6912616d0ac12eb791f0745224608f9921df941 /drivers
parent58af00456ac6b3158c99a3c6b3435c88d4f25a0e (diff)
downloadlinux-fsl-qoriq-e19c55ffb984c2db28191d8aa4400bb81ecd756d.tar.xz
V4L/DVB (5161): Dvb-ttpci: call saa7146_vv_release() on exit
Call saa7146_vv_release() on exit. Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/ttpci/av7110_v4l.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_v4l.c b/drivers/media/dvb/ttpci/av7110_v4l.c
index 78a15d5..d78b8f15 100644
--- a/drivers/media/dvb/ttpci/av7110_v4l.c
+++ b/drivers/media/dvb/ttpci/av7110_v4l.c
@@ -824,8 +824,13 @@ int av7110_init_v4l(struct av7110 *av7110)
int av7110_exit_v4l(struct av7110 *av7110)
{
+ struct saa7146_dev* dev = av7110->dev;
+
saa7146_unregister_device(&av7110->v4l_dev, av7110->dev);
saa7146_unregister_device(&av7110->vbi_dev, av7110->dev);
+
+ saa7146_vv_release(dev);
+
return 0;
}