[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200724060058.19201-1-steves.lee@maximintegrated.com>
Date: Fri, 24 Jul 2020 15:00:58 +0900
From: Steve Lee <steves.lee@...imintegrated.com>
To: lgirdwood@...il.com, broonie@...nel.org, perex@...ex.cz,
tiwai@...e.com, ckeepax@...nsource.cirrus.com,
geert@...ux-m68k.org, rf@...nsource.wolfsonmicro.com,
shumingf@...ltek.com, srinivas.kandagatla@...aro.org,
krzk@...nel.org, dmurphy@...com, jack.yu@...ltek.com,
nuno.sa@...log.com, steves.lee@...imintegrated.com,
linux-kernel@...r.kernel.org, alsa-devel@...a-project.org
Cc: ryan.lee.maxim@...il.com, ryans.lee@...imintegrated.com,
steves.lee.maxim@...il.com
Subject: [PATCH 1/2] ASoC: max98390: Fix dac event dapm mixer.
Global EN register guide to off before AMP_EN register
when amp disable sequence.
- remove AMP_EN control before max98390_dac_event call
Signed-off-by: Steve Lee <steves.lee@...imintegrated.com>
---
sound/soc/codecs/max98390.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c
index 3e8094241645..44ffebac15ad 100644
--- a/sound/soc/codecs/max98390.c
+++ b/sound/soc/codecs/max98390.c
@@ -678,7 +678,7 @@ static const struct snd_kcontrol_new max98390_dai_controls =
static const struct snd_soc_dapm_widget max98390_dapm_widgets[] = {
SND_SOC_DAPM_DAC_E("Amp Enable", "HiFi Playback",
- MAX98390_R203A_AMP_EN, 0, 0, max98390_dac_event,
+ SND_SOC_NOPM, 0, 0, max98390_dac_event,
SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_MUX("DAI Sel Mux", SND_SOC_NOPM, 0, 0,
&max98390_dai_controls),
--
2.17.1
Powered by blists - more mailing lists