Prechádzať zdrojové kódy

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: Ralf Herz <[email protected]>
Ralf Herz 6 rokov pred
rodič
commit
88aefa8368
1 zmenil súbory, kde vykonal 44 pridanie a 2 odobranie
  1. 44 2
      asoc/qcs405.c

+ 44 - 2
asoc/qcs405.c

@@ -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[] = {