mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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 <jian.zhou@amlogic.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user