Skip to contentSkip to conversation

ASoC: max98390: Fix dac event dapm mixer.

PATCH RESEND New Steve Lee 1 participant 1 message Jul 27, 2020

Subsystems (2)
lore
Share & tools
lore

Steve Lee

author
#0 lore raw

PATCH RESEND 1/3 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

---
 sound/soc/codecs/max98390.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/max98390.c +1 -1
index 3e8094241645..44ffebac15ad 100644
@@ -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),
Signature · 1 line
2.17.1