ASoC: rk3308_codec: disable zero-cross without working AGC

Enabling zero-cross without AGC, it's may cause loss some
data when start capturing.

Change-Id: I57fcf2cdfc0f67b54700639c4a73bf6c92ac254a
Reported-by: XiaoTan Luo <lxt@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
Xing Zheng
2020-04-24 10:59:34 +08:00
committed by Tao Huang
parent 06973883c2
commit d92e05ea5a

View File

@@ -5108,7 +5108,7 @@ static int rk3308_platform_probe(struct platform_device *pdev)
rk3308->adc_grp0_using_linein = ADC_GRP0_MICIN;
rk3308->dac_output = DAC_LINEOUT;
rk3308->adc_zerocross = 1;
rk3308->adc_zerocross = 0;
rk3308->pm_state = PM_NORMAL;
platform_set_drvdata(pdev, rk3308);