Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c6ebc3e authored by Fang, Yang A's avatar Fang, Yang A Committed by Mark Brown
Browse files

ASoc: Intel: boards: fix dapm map of nau88l25_ssm4567 machine



The DAPM map for DMIC and SSP was not properly done, so fix that up.
Also mark machine as fully routed

Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarFang, Yang A <yang.a.fang@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8eaf2b31
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -108,22 +108,22 @@ static const struct snd_soc_dapm_route skylake_map[] = {


	/* other jacks */
	/* other jacks */
	{"MIC", NULL, "Headset Mic"},
	{"MIC", NULL, "Headset Mic"},
	{"DMIC AIF", NULL, "SoC DMIC"},
	{"DMic", NULL, "SoC DMIC"},


	/* CODEC BE connections */
	/* CODEC BE connections */
	{ "Left Playback", NULL, "ssp0 Tx"},
	{ "Left Playback", NULL, "ssp0 Tx"},
	{ "Right Playback", NULL, "ssp0 Tx"},
	{ "Right Playback", NULL, "ssp0 Tx"},
	{ "ssp0 Tx", NULL, "codec0_out"},
	{ "ssp0 Tx", NULL, "codec0_out"},


	{ "AIF1 Playback", NULL, "ssp1 Tx"},
	{ "Playback", NULL, "ssp1 Tx"},
	{ "ssp1 Tx", NULL, "codec1_out"},
	{ "ssp1 Tx", NULL, "codec1_out"},


	{ "codec0_in", NULL, "ssp1 Rx" },
	{ "codec0_in", NULL, "ssp1 Rx" },
	{ "ssp1 Rx", NULL, "AIF1 Capture" },
	{ "ssp1 Rx", NULL, "Capture" },


	/* DMIC */
	/* DMIC */
	{ "dmic01_hifi", NULL, "DMIC01 Rx" },
	{ "dmic01_hifi", NULL, "DMIC01 Rx" },
	{ "DMIC01 Rx", NULL, "Capture" },
	{ "DMIC01 Rx", NULL, "DMIC AIF" },
	{ "Headphone Jack", NULL, "Platform Clock" },
	{ "Headphone Jack", NULL, "Platform Clock" },
	{ "Headset Mic", NULL, "Platform Clock" },
	{ "Headset Mic", NULL, "Platform Clock" },
};
};
@@ -336,6 +336,7 @@ static struct snd_soc_card skylake_audio_card = {
	.num_dapm_routes = ARRAY_SIZE(skylake_map),
	.num_dapm_routes = ARRAY_SIZE(skylake_map),
	.codec_conf = ssm4567_codec_conf,
	.codec_conf = ssm4567_codec_conf,
	.num_configs = ARRAY_SIZE(ssm4567_codec_conf),
	.num_configs = ARRAY_SIZE(ssm4567_codec_conf),
	.fully_routed = true,
};
};


static int skylake_audio_probe(struct platform_device *pdev)
static int skylake_audio_probe(struct platform_device *pdev)