From: jian.zhou Date: Sat, 12 Oct 2019 06:30:39 +0000 (-0400) Subject: audio: t9015 DACL_EN and DACR_EN only enable once [1/1] X-Git-Tag: hardkernel-4.9.236-104~546 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8e77664e7f091dec295ceb0683784e901d79a3f;p=platform%2Fkernel%2Flinux-amlogic.git audio: t9015 DACL_EN and DACR_EN only enable once [1/1] PD#SWPL-13728 Problem: when enable DACL_EN and DACR_EN, it will has pop sound Solution: Only enable DACL_EN and DACR_EN once at probe function Verify: U212 Change-Id: I0f26977ad5d9b86df264069f8732ddb44615cc09 Signed-off-by: jian.zhou --- diff --git a/sound/soc/codecs/amlogic/aml_codec_t9015.c b/sound/soc/codecs/amlogic/aml_codec_t9015.c index 31cebb7..4882b4a 100644 --- a/sound/soc/codecs/amlogic/aml_codec_t9015.c +++ b/sound/soc/codecs/amlogic/aml_codec_t9015.c @@ -64,7 +64,7 @@ static const struct reg_default t9015_init_list[] = { }; static const struct reg_default t9015_init_list_V2[] = { - {AUDIO_CONFIG_BLOCK_ENABLE, 0x0000B00F}, + {AUDIO_CONFIG_BLOCK_ENABLE, 0x0000B03F}, {ADC_VOL_CTR_PGA_IN_CONFIG, 0x00000000}, {DAC_VOL_CTR_DAC_SOFT_MUTE, 0xFBFB0000}, {LINE_OUT_CONFIG, 0x00001111}, @@ -254,12 +254,14 @@ static const struct snd_soc_dapm_widget T9015_audio_dapm_widgets_V2[] = { SND_SOC_DAPM_OUTPUT("Lineout right P"), /*DAC playback stream */ + /* SND_SOC_DAPM_DAC("Left DAC", "HIFI Playback", AUDIO_CONFIG_BLOCK_ENABLE, DACL_EN, 0), SND_SOC_DAPM_DAC("Right DAC", "HIFI Playback", AUDIO_CONFIG_BLOCK_ENABLE, DACR_EN, 0), + */ /*DRV output */ SND_SOC_DAPM_OUT_DRV("LOLP_OUT_EN", SND_SOC_NOPM,