summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci/budget-patch.c
diff options
context:
space:
mode:
authorOliver Endriss2006-07-19 03:55:23 +0200
committerMauro Carvalho Chehab2006-07-29 22:22:23 +0200
commit32e4c3a5622e832938aa0272e21a292564ff090a (patch)
treedefe0d2b1566a6438b52113e43f8536eb669cdcc /drivers/media/dvb/ttpci/budget-patch.c
parentV4L/DVB (4316): Check __must_check warnings (diff)
downloadkernel-qcow2-linux-32e4c3a5622e832938aa0272e21a292564ff090a.tar.gz
kernel-qcow2-linux-32e4c3a5622e832938aa0272e21a292564ff090a.tar.xz
kernel-qcow2-linux-32e4c3a5622e832938aa0272e21a292564ff090a.zip
V4L/DVB (4323): [budget/budget-av/budget-ci/budget-patch drivers] fixed DMA start/stop code
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-patch.c')
-rw-r--r--drivers/media/dvb/ttpci/budget-patch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget-patch.c b/drivers/media/dvb/ttpci/budget-patch.c
index ee60ce90a400..57227441891e 100644
--- a/drivers/media/dvb/ttpci/budget-patch.c
+++ b/drivers/media/dvb/ttpci/budget-patch.c
@@ -617,6 +617,8 @@ static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_exte
budget->dvb_adapter.priv = budget;
frontend_init(budget);
+ ttpci_budget_init_hooks(budget);
+
return 0;
}