diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-01-31 18:32:29 +0100 |
---|---|---|
committer | Oliver Endriss <o.endriss@gmx.de> | 2007-01-31 18:32:29 +0100 |
commit | 409d9f8dedae8011ee2694296dc8ffe61812a4a2 (patch) | |
tree | 44a7a40f1936f077924654135fdc0570563b7106 /linux/drivers/media | |
parent | 21cff97b36ee2df7ef06430191da60bcfbfe05f1 (diff) | |
download | mediapointer-dvb-s2-409d9f8dedae8011ee2694296dc8ffe61812a4a2.tar.gz mediapointer-dvb-s2-409d9f8dedae8011ee2694296dc8ffe61812a4a2.tar.bz2 |
dvb-ttpci: call saa7146_vv_release() on exit
From: Marco Schluessler <marco@lordzodiac.de>
Call saa7146_vv_release() on exit.
Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110_v4l.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_v4l.c b/linux/drivers/media/dvb/ttpci/av7110_v4l.c index 3c6f5fcdc..0510a80f2 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_v4l.c +++ b/linux/drivers/media/dvb/ttpci/av7110_v4l.c @@ -825,8 +825,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; } |