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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Meng Wang

vecāks
63f4815535
revīzija
83e6ee1c40
@@ -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>
|
||||
@@ -7398,6 +7398,20 @@ static struct snd_soc_dai_link msm_rx_tx_cdc_dma_be_dai_links[] = {
|
||||
.ops = &msm_cdc_dma_be_ops,
|
||||
},
|
||||
/* 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",
|
||||
@@ -7953,7 +7967,6 @@ static int msm_aux_codec_init(struct snd_soc_component *component)
|
||||
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);
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user