summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/budget-av.c
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2006-07-19 03:55:23 +0200
committerOliver Endriss <o.endriss@gmx.de>2006-07-19 03:55:23 +0200
commit893daa56583da63d1f0734d1b6a478d37c3a7a9f (patch)
tree0c841e07943a34c694c07dade67ae70a62d65e42 /linux/drivers/media/dvb/ttpci/budget-av.c
parent82a8cd5b91676683cfa89ef44c35f60db77c6f2a (diff)
downloadmediapointer-dvb-s2-893daa56583da63d1f0734d1b6a478d37c3a7a9f.tar.gz
mediapointer-dvb-s2-893daa56583da63d1f0734d1b6a478d37c3a7a9f.tar.bz2
[budget/budget-av/budget-ci/budget-patch drivers] fixed DMA start/stop code
From: Oliver Endriss <o.endriss@gmx.de> Fix bug reported by Andrew de Quincey: After cold boot the saa7146 DMA did not start if the demuxer was opened before the frontend has locked to the signal. DMA transfers will be started now if (and only if) the frontend is locked and data should be sent to the demuxer. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget-av.c')
-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 5f111d407..2d21fec23 100644
--- a/linux/drivers/media/dvb/ttpci/budget-av.c
+++ b/linux/drivers/media/dvb/ttpci/budget-av.c
@@ -1303,6 +1303,9 @@ static int budget_av_attach(struct saa7146_dev *dev, struct saa7146_pci_extensio
budget_av->budget.dvb_adapter.priv = budget_av;
frontend_init(budget_av);
ciintf_init(budget_av);
+
+ ttpci_budget_init_hooks(&budget_av->budget);
+
return 0;
}