aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ngene/ngene-core.c
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2011-01-10 06:36:12 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:31:44 -0300
commitac9725d224544954a8d3413a2a66bdf49f735d8b (patch)
tree9abbae13650d6e1d023db445cbf6e19cef0273ef /drivers/media/dvb/ngene/ngene-core.c
parent09961aae7b3ea8640051e464b346ed3984521de8 (diff)
[media] ngene: Fixes for TS input over I2S
Fix TS input over I2S. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ngene/ngene-core.c')
-rw-r--r--drivers/media/dvb/ngene/ngene-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c
index cd5b1f3e902..8764647e55f 100644
--- a/drivers/media/dvb/ngene/ngene-core.c
+++ b/drivers/media/dvb/ngene/ngene-core.c
@@ -143,7 +143,7 @@ static void demux_tasklet(unsigned long data)
}
} else {
if (chan->HWState == HWSTATE_RUN) {
- u32 Flags = 0;
+ u32 Flags = chan->DataFormatFlags;
IBufferExchange *exch1 = chan->pBufferExchange;
IBufferExchange *exch2 = chan->pBufferExchange2;
if (Cur->ngeneBuffer.SR.Flags & 0x01)
@@ -474,7 +474,7 @@ static u8 SPDIFConfiguration[10] = {
/* Set NGENE I2S Config to transport stream compatible mode */
-static u8 TS_I2SConfiguration[4] = { 0x3E, 0x1A, 0x00, 0x00 }; /*3e 18 00 00 ?*/
+static u8 TS_I2SConfiguration[4] = { 0x3E, 0x18, 0x00, 0x00 };
static u8 TS_I2SOutConfiguration[4] = { 0x80, 0x20, 0x00, 0x00 };