author | nengwen.chen <nengwen.chen@amlogic.com> | 2019-09-29 11:22:36 (GMT) |
---|---|---|
committer | zihuan.ling <zihuan.ling@amlogic.com> | 2019-10-12 01:37:07 (GMT) |
commit | a5c0ac1d45df6b830f69b9d3302c035420e0bac2 (patch) | |
tree | 0fcbec0c89e5adc5e2c32adced914ea665f95f0d | |
parent | 84c903b2a4946fdb69da373ce50286e15e3ca387 (diff) | |
download | common-a5c0ac1d45df6b830f69b9d3302c035420e0bac2.zip common-a5c0ac1d45df6b830f69b9d3302c035420e0bac2.tar.gz common-a5c0ac1d45df6b830f69b9d3302c035420e0bac2.tar.bz2 |
atv_demod: fix atv non_std_en == 4 [1/1]
PD#TV-10383
Problem:
fix atv non_std_en == 4.
Solution:
1.fix atv non_std_en == 4.
Verify:
Verified by x301
Change-Id: I25286d1f1472411fcc37255eaef80436ed0f2c26
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
-rw-r--r-- | drivers/amlogic/atv_demod/atvdemod_func.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/amlogic/atv_demod/atvdemod_func.c b/drivers/amlogic/atv_demod/atvdemod_func.c index 980bf7c..5fef4c3 100644 --- a/drivers/amlogic/atv_demod/atvdemod_func.c +++ b/drivers/amlogic/atv_demod/atvdemod_func.c @@ -287,8 +287,8 @@ void atv_dmd_misc(void) atv_dmd_wr_long(APB_BLOCK_ADDR_VDAGC, 0x0c, 0x387c0831); atv_dmd_wr_long(APB_BLOCK_ADDR_CARR_RCVY, 0x24, 0xc020901); } else { - if (tuner_id == AM_TUNER_R840 || tuner_id == AM_TUNER_R842 - || non_std_en == 4) { + if ((tuner_id == AM_TUNER_R840 || tuner_id == AM_TUNER_R842) && + non_std_en == 4) { /* Reduce target amplitude and response speed */ atv_dmd_wr_long(APB_BLOCK_ADDR_AGC_PWM, 0x08, 0x17070200); |