demux: correct ciplus bit [1/1]
authorChuangcheng Peng <chuangcheng.peng@amlogic.com>
Tue, 18 Feb 2020 12:51:44 +0000 (20:51 +0800)
committerZhi Zhou <zhi.zhou@amlogic.com>
Wed, 19 Feb 2020 02:47:56 +0000 (18:47 -0800)
PD#SWPL-20857

Problem:
demux data lost when switch scrambled channels

Solution:
correct ciplus bit.

Verify:
 verify at ZTE/Magecable project

Change-Id: I814563e408f2790a470bb4e9e899b82d61520a7a
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
drivers/stream_input/parser/hw_demux/aml_dmx.c

index 0b6ac6b29d9e71de86c2770590900674208b2f10..6809e4cc653c525fc45a42b63a46709b0bebfd62 100644 (file)
@@ -3800,7 +3800,7 @@ void dmx_reset_hw_ex(struct aml_dvb *dvb, int reset_irq)
        {
                u32 data;
                data = READ_MPEG_REG(STB_TOP_CONFIG);
-               ciplus = 0xF8000000 & data;
+               ciplus = 0x7C000000 & data;
        }
 
        WRITE_MPEG_REG(STB_TOP_CONFIG, 0);
@@ -3995,7 +3995,7 @@ void dmx_reset_dmx_hw_ex_unlock(struct aml_dvb *dvb, struct aml_dmx *dmx,
        {
                u32 data;
                data = READ_MPEG_REG(STB_TOP_CONFIG);
-               ciplus = 0xF8000000 & data;
+               ciplus = 0x7C000000 & data;
        }
 
        {