]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: bdw-rt5677: Turn on MCLK1 for DSP via DAPM
authorCurtis Malainey <cujomalainey@chromium.org>
Wed, 6 Nov 2019 01:13:34 +0000 (17:13 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Nov 2019 13:02:06 +0000 (13:02 +0000)
The RT5677 DSP needs the I2S MCLK1 to run its DSP. Add a dapm route to
SSP0 CODEC IN so the clock is turned on automatically when the DSP is
turned on.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20191106011335.223061-10-cujomalainey@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bdw-rt5677.c

index eeb9a11e4e14dd931b92bf2029f63d3e7ca745f2..b2475e3eff7b4b7b37a439d166cecae8c2b43216 100644 (file)
@@ -75,6 +75,10 @@ static const struct snd_soc_dapm_route bdw_rt5677_map[] = {
        {"SSP0 CODEC IN", NULL, "AIF1 Capture"},
        {"AIF1 Playback", NULL, "SSP0 CODEC OUT"},
        {"DSP Capture", NULL, "DSP Buffer"},
+
+       /* DSP Clock Connections */
+       { "DSP Buffer", NULL, "SSP0 CODEC IN" },
+       { "SSP0 CODEC IN", NULL, "DSPTX" },
 };
 
 static const struct snd_kcontrol_new bdw_rt5677_controls[] = {