aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci/av7110.c
diff options
context:
space:
mode:
authorDr. Werner Fink <werner@suse.de>2006-01-09 12:25:07 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:07 -0500
commit47f3692096eef208d8cb455bfa2b3308cdfc40de (patch)
treef5875cc7accf1f466dd86b6c559d79091eb893d4 /drivers/media/dvb/ttpci/av7110.c
parent1c13b95c7d22d5c552246b465da4b364ba00ba65 (diff)
DVB (2441): Driver support for live-ac3, firmware >= 2621 required.
- Driver support for live-ac3, firmware >= 2621 required. Signed-off-by: Dr. Werner Fink <werner@suse.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110.c')
-rw-r--r--drivers/media/dvb/ttpci/av7110.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c
index 240451dcd8b8..8fa487fb507b 100644
--- a/drivers/media/dvb/ttpci/av7110.c
+++ b/drivers/media/dvb/ttpci/av7110.c
@@ -720,6 +720,8 @@ static struct dvb_device dvbdev_osd = {
720static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, 720static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid,
721 u16 subpid, u16 pcrpid) 721 u16 subpid, u16 pcrpid)
722{ 722{
723 u16 aflags = 0;
724
723 dprintk(4, "%p\n", av7110); 725 dprintk(4, "%p\n", av7110);
724 726
725 if (vpid == 0x1fff || apid == 0x1fff || 727 if (vpid == 0x1fff || apid == 0x1fff ||
@@ -731,8 +733,11 @@ static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid,
731 av7110->pids[DMX_PES_PCR] = 0; 733 av7110->pids[DMX_PES_PCR] = 0;
732 } 734 }
733 735
734 return av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, MultiPID, 5, 736 if (av7110->audiostate.bypass_mode)
735 pcrpid, vpid, apid, ttpid, subpid); 737 aflags |= 0x8000;
738
739 return av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, MultiPID, 6,
740 pcrpid, vpid, apid, ttpid, subpid, aflags);
736} 741}
737 742
738int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, 743int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid,