This avoids temporarily enabling the ouput stages during startup whichcan cause audible effets in the output stages. Reported-by: Fredrik Redgård <rik@xxxxxxx>Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>--- sound/soc/codecs/wm8731.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.cindex 4cac319..9e7ebcc 100644--- a/sound/soc/codecs/wm8731.c+++ b/sound/soc/codecs/wm8731.c@@ -594,6 +594,10 @@ static int wm8731_register(struct wm8731_priv *wm8731) reg = wm8731_read_reg_cache(codec, WM8731_RINVOL); wm8731_write(codec, WM8731_RINVOL, reg & ~0x0100); + /* Disable bypass path by default */+ reg = wm8731_read_reg_cache(codec, WM8731_APANA);+ wm8731_write(codec, WM8731_APANA, reg & ~0x4);+ wm8731_codec = codec; ret = snd_soc_register_codec(codec);-- 1.5.6.3 _______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://mailman.alsa-project.org/mailman/listinfo/alsa-devel