summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-02-03 18:47:14 +0100
committerOliver Endriss <o.endriss@gmx.de>2007-02-03 18:47:14 +0100
commit4ddabb0e021ea79119db35f5f848fb9220077e20 (patch)
tree554336c458d692463cb904ebaae1570357bf7ce4
parentcb465b59328a8a1bee9c305b99af64f0f1501d4e (diff)
downloadmediapointer-dvb-s2-4ddabb0e021ea79119db35f5f848fb9220077e20.tar.gz
mediapointer-dvb-s2-4ddabb0e021ea79119db35f5f848fb9220077e20.tar.bz2
budget-av: 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>
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-av.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c
index 89ab4b591..3035b224c 100644
--- a/linux/drivers/media/dvb/ttpci/budget-av.c
+++ b/linux/drivers/media/dvb/ttpci/budget-av.c
@@ -1089,6 +1089,8 @@ static int budget_av_detach(struct saa7146_dev *dev)
msleep(200);
saa7146_unregister_device(&budget_av->vd, dev);
+
+ saa7146_vv_release(dev);
}
if (budget_av->budget.ci_present)
@@ -1145,6 +1147,7 @@ static int budget_av_attach(struct saa7146_dev *dev, struct saa7146_pci_extensio
if ((err = saa7146_register_device(&budget_av->vd, dev, "knc1", VFL_TYPE_GRABBER))) {
/* fixme: proper cleanup here */
ERR(("cannot register capture v4l2 device.\n"));
+ saa7146_vv_release(dev);
return err;
}