Commit ce3bdaa8 authored by Mark Brown's avatar Mark Brown

ASoC: Disable WM8731 line bypass by default

This avoids temporarily enabling the ouput stages during startup which
can cause audible effets in the output stages.
Reported-by: default avatarFredrik Redgård <rik@svep.se>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c6f29811
...@@ -594,6 +594,10 @@ static int wm8731_register(struct wm8731_priv *wm8731) ...@@ -594,6 +594,10 @@ static int wm8731_register(struct wm8731_priv *wm8731)
reg = wm8731_read_reg_cache(codec, WM8731_RINVOL); reg = wm8731_read_reg_cache(codec, WM8731_RINVOL);
wm8731_write(codec, WM8731_RINVOL, reg & ~0x0100); 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; wm8731_codec = codec;
ret = snd_soc_register_codec(codec); ret = snd_soc_register_codec(codec);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment