]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun4i-codec: Add "Right Mixer" to "Line Out Mono Diff." route
authorChen-Yu Tsai <wens@csie.org>
Sat, 7 Jan 2017 18:57:06 +0000 (02:57 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 9 Jan 2017 19:48:35 +0000 (19:48 +0000)
commit4b52d399d4b7a6060dbaf59d0e36a5b03aaf72f4
tree410ad61aff562c768e46e6520d90e42614f70edf
parent079bf0bbd85d63b5e4bbb7290c0f21b943c7eed0
ASoC: sun4i-codec: Add "Right Mixer" to "Line Out Mono Diff." route

The mono differential output for "Line Out" downmixes the stereo audio
from the mixer, instead of just taking the left channel.

Add a route from the "Right Mixer" to "Line Out Source Playback Route"
through the "Mono Differential" path, so DAPM doesn't shut down
everything if the left channel is muted.

Fixes: cfd5a438008f ("ASoC: sun4i-codec: Add support for A31 Line Out
      playback")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c