Switching of the bypass on generates a pop noise. Reverse the order of the power up sequence.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@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; }