From 3f030f19f9c23c453b3c03a6e8dcdeb0efc4b2a0 Mon Sep 17 00:00:00 2001 From: Vikram Panduranga Date: Fri, 25 May 2018 16:17:32 -0700 Subject: [PATCH] asoc: sm8150: Add MultiMedia17 FE with capture support Add MultiMedia17 FE to support compress capture usecase. This can be used to enable recording on compress offload path. Change-Id: I2a570ec9f4950128aba77a257e98569c714c778c Signed-off-by: Vikram Panduranga --- asoc/sm8150.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/asoc/sm8150.c b/asoc/sm8150.c index f4bc02a0c5cb..df16270e8be6 100644 --- a/asoc/sm8150.c +++ b/asoc/sm8150.c @@ -5668,6 +5668,21 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, + { + .name = "Compress Capture", + .stream_name = "Compress9", + .cpu_dai_name = "MultiMedia17", + .platform_name = "msm-compress-dsp", + .dynamic = 1, + .dpcm_capture = 1, + .trigger = {SND_SOC_DPCM_TRIGGER_POST, + SND_SOC_DPCM_TRIGGER_POST}, + .codec_dai_name = "snd-soc-dummy-dai", + .codec_name = "snd-soc-dummy", + .ignore_suspend = 1, + .ignore_pmdown_time = 1, + .id = MSM_FRONTEND_DAI_MULTIMEDIA17, + }, }; static struct snd_soc_dai_link msm_common_be_dai_links[] = {