[alsa-devel] [RFC v2 3/3] ASoC: tlv320dac33: Reverse the power up sequence for bypass switches
Peter Ujfalusi
peter.ujfalusi at nokia.com
Fri Dec 3 14:31:13 CET 2010
Switching of the bypass on generates a pop noise.
Reverse the order of the power up sequence.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
---
sound/soc/codecs/tlv320dac33.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index ccb267f..2aec9e2 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -634,6 +634,10 @@ static int dac33_add_widgets(struct snd_soc_codec *codec)
/* set up audio path interconnects */
snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
+ /* Reverse the power up sequence for bypass switches */
+ snd_soc_dapm_reverse_powerup_sequence(dapm, "Analog Left Bypass");
+ snd_soc_dapm_reverse_powerup_sequence(dapm, "Analog Right Bypass");
+
return 0;
}
--
1.7.3.2
More information about the Alsa-devel
mailing list