audio: disable spdifout play zero data function in driver [1/1]

PD#OTT-7246

Problem:
spdifout in platform probe function will cause pop sound
as we have done this at uboot stage

Solution:
disable spdifout play zero data function

Verify:
S905Y2-U221

Change-Id: I6885a200cdb909854e239bb172568ec0af503a06
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
This commit is contained in:
jian.zhou
2019-11-21 21:32:30 +08:00
committed by Luke Go
parent aeee2e9f3d
commit 45f46fed09

View File

@@ -1697,8 +1697,12 @@ static int aml_spdif_platform_probe(struct platform_device *pdev)
ret = aml_spdif_parse_of(pdev);
if (ret)
return -EINVAL;
/* spdif out play zero data at uboot stage */
/*
if (aml_spdif->clk_cont)
spdifout_play_with_zerodata(aml_spdif->id, spdif_reenable);
*/
ret = devm_snd_soc_register_component(dev, &aml_spdif_component,
&aml_spdif_dai[aml_spdif->id], 1);