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

Commit 88aefa83 authored by Ralf Herz's avatar Ralf Herz Committed by Gerrit - the friendly Code Review server
Browse files

asoc: qcs405: Add devices for concurrent audio record



Add dai links to allow for several concurrent audio recordings
from SPDIF and HDMI interfaces on qcs405.

Change-Id: I5f4a2fcf16538f71ad14b3389732366e8d8e718f
Signed-off-by: default avatarRalf Herz <rherz@codeaurora.org>
parent 34b11a32
Loading
Loading
Loading
Loading
+44 −2
Original line number Diff line number Diff line
@@ -6508,8 +6508,8 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = {
		.codec_name = "snd-soc-dummy",
	},
	{
		.name = MSM_DAILINK_NAME(Compr Capture),
		.stream_name = "Compr Capture",
		.name = MSM_DAILINK_NAME(Compr Capture2),
		.stream_name = "Compr Capture2",
		.cpu_dai_name = "MultiMedia18",
		.platform_name = "msm-compress-dsp",
		.dynamic = 1,
@@ -6552,6 +6552,48 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = {
		.ignore_pmdown_time = 1,
		.id = MSM_FRONTEND_DAI_MULTIMEDIA27,
	},
	{
		.name = MSM_DAILINK_NAME(Compr Capture3),
		.stream_name = "Compr Capture3",
		.cpu_dai_name = "MultiMedia19",
		.platform_name = "msm-compress-dsp",
		.dynamic = 1,
		.dpcm_capture = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			    SND_SOC_DPCM_TRIGGER_POST},
		.ignore_pmdown_time = 1,
		.id = MSM_FRONTEND_DAI_MULTIMEDIA19,
	},
	{
		.name = MSM_DAILINK_NAME(Compr Capture4),
		.stream_name = "Compr Capture4",
		.cpu_dai_name = "MultiMedia28",
		.platform_name = "msm-compress-dsp",
		.dynamic = 1,
		.dpcm_capture = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			    SND_SOC_DPCM_TRIGGER_POST},
		.ignore_pmdown_time = 1,
		.id = MSM_FRONTEND_DAI_MULTIMEDIA28,
	},
	{
		.name = MSM_DAILINK_NAME(Compr Capture5),
		.stream_name = "Compr Capture5",
		.cpu_dai_name = "MultiMedia29",
		.platform_name = "msm-compress-dsp",
		.dynamic = 1,
		.dpcm_capture = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			    SND_SOC_DPCM_TRIGGER_POST},
		.ignore_pmdown_time = 1,
		.id = MSM_FRONTEND_DAI_MULTIMEDIA29,
	},
};

static struct snd_soc_dai_link msm_common_be_dai_links[] = {