V4L/DVB (4323): [budget/budget-av/budget-ci/budget-patch drivers] fixed DMA start...
authorOliver Endriss <o.endriss@gmx.de>
Wed, 19 Jul 2006 01:55:23 +0000 (22:55 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 29 Jul 2006 20:22:23 +0000 (17:22 -0300)
commit32e4c3a5622e832938aa0272e21a292564ff090a
treedefe0d2b1566a6438b52113e43f8536eb669cdcc
parent3117beec7e43f91ce156cacf033a712c7e22737d
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>
drivers/media/dvb/ttpci/budget-av.c
drivers/media/dvb/ttpci/budget-ci.c
drivers/media/dvb/ttpci/budget-core.c
drivers/media/dvb/ttpci/budget-patch.c
drivers/media/dvb/ttpci/budget.c
drivers/media/dvb/ttpci/budget.h