summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs47l90.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2020-01-14 16:18:41 +0000
committerMark Brown <broonie@kernel.org>2020-01-17 15:28:31 +0000
commit8ab6ddc5c51b09630f3c89eb410ac48e13a2f0ff (patch)
tree2c9364fea741659b2aa4dc72e6a4b794dd9b0532 /sound/soc/codecs/cs47l90.c
parent73ecf1a673d3502dff1445f06675aba65ff20ce7 (diff)
ASoC: madera: Update handling of DAPM routes for mono muxed outputs
Correctly link both channels on the DAC if an output muxed between a stereo and mono output. Without this one channel of the DAC may be erroneously powered down whilst in mono mode. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20200114161841.451-4-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs47l90.c')
-rw-r--r--sound/soc/codecs/cs47l90.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs47l90.c b/sound/soc/codecs/cs47l90.c
index 67cac60a859d..5448e4506741 100644
--- a/sound/soc/codecs/cs47l90.c
+++ b/sound/soc/codecs/cs47l90.c
@@ -2418,7 +2418,8 @@ static int cs47l90_component_probe(struct snd_soc_component *component)
if (ret)
return ret;
- ret = madera_init_outputs(component, CS47L90_MONO_OUTPUTS);
+ ret = madera_init_outputs(component, NULL, CS47L90_MONO_OUTPUTS,
+ CS47L90_MONO_OUTPUTS);
if (ret)
return ret;