V4L/DVB (5161): Dvb-ttpci: call saa7146_vv_release() on exit
authorMarco Schluessler <marco@lordzodiac.de>
Wed, 31 Jan 2007 17:32:29 +0000 (14:32 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:09 +0000 (13:35 -0200)
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>
drivers/media/dvb/ttpci/av7110_v4l.c

index 78a15d52b056fa03abdf0125c6f03c34711e162a..d78b8f15dae53febbe9299d8b11052869602fb97 100644 (file)
@@ -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;
 }