summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSteve Lee <steves.lee@maximintegrated.com>2020-07-24 09:00:58 +0300
committerMark Brown <broonie@kernel.org>2020-07-24 16:24:14 +0300
commitdc5fb6d2e8dff0dd61c9b55508c46e73a67e9ea8 (patch)
tree20df3b1e35fe97d1e8e70e4965471f67dd441180 /sound
parent5c5f1baee85ae48b1ff50da4cc5e89f496be702c (diff)
downloadlinux-dc5fb6d2e8dff0dd61c9b55508c46e73a67e9ea8.tar.xz
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@maximintegrated.com> Link: https://lore.kernel.org/r/20200724060058.19201-1-steves.lee@maximintegrated.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c
index e6613b52bd78..9859a133b90c 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),