asoc: sm6150: Add TX_CDC_DMA_TX_0 backend dailink
TX_CDC_DMA_TX_0 supports three channels, therefore it
can be used for rx_macro_echo. Add required backend dailink.
Also remove AMIC4 from ignore_suspend as it is not used for talos.
Change-Id: I74b7adca9fa4001866232c1a9173e865c2a169c4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
diff --git a/asoc/sm6150.c b/asoc/sm6150.c
index 02f8fc5..c7dc1f2 100644
--- a/asoc/sm6150.c
+++ b/asoc/sm6150.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
- * Copyright (c) 2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/clk.h>
@@ -7399,6 +7399,20 @@
},
/* TX CDC DMA Backend DAI Links */
{
+ .name = LPASS_BE_TX_CDC_DMA_TX_0,
+ .stream_name = "TX CDC DMA0 Capture",
+ .cpu_dai_name = "msm-dai-cdc-dma-dev.45105",
+ .platform_name = "msm-pcm-routing",
+ .codec_name = "bolero_codec",
+ .codec_dai_name = "rx_macro_echo",
+ .no_pcm = 1,
+ .dpcm_capture = 1,
+ .id = MSM_BACKEND_DAI_TX_CDC_DMA_TX_0,
+ .be_hw_params_fixup = msm_be_hw_params_fixup,
+ .ignore_suspend = 1,
+ .ops = &msm_cdc_dma_be_ops,
+ },
+ {
.name = LPASS_BE_TX_CDC_DMA_TX_3,
.stream_name = "TX CDC DMA3 Capture",
.cpu_dai_name = "msm-dai-cdc-dma-dev.45111",
@@ -7953,7 +7967,6 @@
snd_soc_dapm_ignore_suspend(dapm, "AMIC1");
snd_soc_dapm_ignore_suspend(dapm, "AMIC2");
snd_soc_dapm_ignore_suspend(dapm, "AMIC3");
- snd_soc_dapm_ignore_suspend(dapm, "AMIC4");
snd_soc_dapm_sync(dapm);
pdata = snd_soc_card_get_drvdata(component->card);