Loading asoc/sm6150.c +77 −44 Original line number Diff line number Diff line Loading @@ -4392,7 +4392,8 @@ static int msm_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_1: case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_2: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_0: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_1: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_3: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_4: idx = msm_cdc_dma_get_idx_from_beid(dai_link->id); param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, cdc_dma_tx_cfg[idx].bit_format); Loading Loading @@ -5122,7 +5123,8 @@ static int msm_snd_cdc_dma_hw_params(struct snd_pcm_substream *substream, case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_1: case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_2: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_0: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_1: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_3: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_4: { ch_id = msm_cdc_dma_get_idx_from_beid(dai_link->id); pr_debug("%s: id %d tx_ch=%d\n", __func__, Loading Loading @@ -5850,7 +5852,7 @@ static struct snd_soc_ops msm_wcn_ops = { /* Digital audio interface glue - connects codec <---> CPU */ static struct snd_soc_dai_link msm_common_dai_links[] = { /* FrontEnd DAI Links */ { {/* hw:x,0 */ .name = MSM_DAILINK_NAME(Media1), .stream_name = "MultiMedia1", .cpu_dai_name = "MultiMedia1", Loading @@ -5868,7 +5870,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_MULTIMEDIA1 }, { {/* hw:x,1 */ .name = MSM_DAILINK_NAME(Media2), .stream_name = "MultiMedia2", .cpu_dai_name = "MultiMedia2", Loading @@ -5885,7 +5887,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_MULTIMEDIA2, }, { {/* hw:x,2 */ .name = "VoiceMMode1", .stream_name = "VoiceMMode1", .cpu_dai_name = "VoiceMMode1", Loading @@ -5902,7 +5904,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_VOICEMMODE1, }, { {/* hw:x,3 */ .name = "MSM VoIP", .stream_name = "VoIP", .cpu_dai_name = "VoIP", Loading @@ -5919,7 +5921,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_VOIP, }, { {/* hw:x,4 */ .name = MSM_DAILINK_NAME(ULL), .stream_name = "MultiMedia3", .cpu_dai_name = "MultiMedia3", Loading @@ -5937,7 +5939,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_MULTIMEDIA3, }, /* Hostless PCM purpose */ { {/* hw:x,5 */ .name = "SLIMBUS_0 Hostless", .stream_name = "SLIMBUS_0 Hostless", .cpu_dai_name = "SLIMBUS0_HOSTLESS", Loading @@ -5954,7 +5956,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,6 */ .name = "MSM AFE-PCM RX", .stream_name = "AFE-PROXY RX", .cpu_dai_name = "msm-dai-q6-dev.241", Loading @@ -5966,7 +5968,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .ignore_pmdown_time = 1, }, { {/* hw:x,7 */ .name = "MSM AFE-PCM TX", .stream_name = "AFE-PROXY TX", .cpu_dai_name = "msm-dai-q6-dev.240", Loading @@ -5976,7 +5978,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .dpcm_capture = 1, .ignore_suspend = 1, }, { {/* hw:x,8 */ .name = MSM_DAILINK_NAME(Compress1), .stream_name = "Compress1", .cpu_dai_name = "MultiMedia4", Loading @@ -5994,7 +5996,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA4, }, { {/* hw:x,9 */ .name = "AUXPCM Hostless", .stream_name = "AUXPCM Hostless", .cpu_dai_name = "AUXPCM_HOSTLESS", Loading @@ -6011,7 +6013,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,10 */ .name = "SLIMBUS_1 Hostless", .stream_name = "SLIMBUS_1 Hostless", .cpu_dai_name = "SLIMBUS1_HOSTLESS", Loading @@ -6028,7 +6030,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,11 */ .name = "SLIMBUS_3 Hostless", .stream_name = "SLIMBUS_3 Hostless", .cpu_dai_name = "SLIMBUS3_HOSTLESS", Loading @@ -6045,10 +6047,10 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { .name = "SLIMBUS_4 Hostless", .stream_name = "SLIMBUS_4 Hostless", .cpu_dai_name = "SLIMBUS4_HOSTLESS", {/* hw:x,12 */ .name = "SLIMBUS_7 Hostless", .stream_name = "SLIMBUS_7 Hostless", .cpu_dai_name = "SLIMBUS7_HOSTLESS", .platform_name = "msm-pcm-hostless", .dynamic = 1, .dpcm_playback = 1, Loading @@ -6062,7 +6064,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,13 */ .name = MSM_DAILINK_NAME(LowLatency), .stream_name = "MultiMedia5", .cpu_dai_name = "MultiMedia5", Loading @@ -6081,7 +6083,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_MULTIMEDIA5, .ops = &msm_fe_qos_ops, }, { {/* hw:x,14 */ .name = "Listen 1 Audio Service", .stream_name = "Listen 1 Audio Service", .cpu_dai_name = "LSM1", Loading @@ -6097,7 +6099,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_LSM1, }, /* Multiple Tunnel instances */ { {/* hw:x,15 */ .name = MSM_DAILINK_NAME(Compress2), .stream_name = "Compress2", .cpu_dai_name = "MultiMedia7", Loading @@ -6113,7 +6115,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA7, }, { {/* hw:x,16 */ .name = MSM_DAILINK_NAME(MultiMedia10), .stream_name = "MultiMedia10", .cpu_dai_name = "MultiMedia10", Loading @@ -6130,7 +6132,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA10, }, { {/* hw:x,17 */ .name = MSM_DAILINK_NAME(ULL_NOIRQ), .stream_name = "MM_NOIRQ", .cpu_dai_name = "MultiMedia8", Loading @@ -6149,7 +6151,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ops = &msm_fe_qos_ops, }, /* HDMI Hostless */ { {/* hw:x,18 */ .name = "HDMI_RX_HOSTLESS", .stream_name = "HDMI_RX_HOSTLESS", .cpu_dai_name = "HDMI_HOSTLESS", Loading @@ -6164,7 +6166,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,19 */ .name = "VoiceMMode2", .stream_name = "VoiceMMode2", .cpu_dai_name = "VoiceMMode2", Loading @@ -6182,7 +6184,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_VOICEMMODE2, }, /* LSM FE */ { {/* hw:x,20 */ .name = "Listen 2 Audio Service", .stream_name = "Listen 2 Audio Service", .cpu_dai_name = "LSM2", Loading @@ -6197,7 +6199,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM2, }, { {/* hw:x,21 */ .name = "Listen 3 Audio Service", .stream_name = "Listen 3 Audio Service", .cpu_dai_name = "LSM3", Loading @@ -6212,7 +6214,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM3, }, { {/* hw:x,22 */ .name = "Listen 4 Audio Service", .stream_name = "Listen 4 Audio Service", .cpu_dai_name = "LSM4", Loading @@ -6227,7 +6229,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM4, }, { {/* hw:x,23 */ .name = "Listen 5 Audio Service", .stream_name = "Listen 5 Audio Service", .cpu_dai_name = "LSM5", Loading @@ -6242,7 +6244,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM5, }, { {/* hw:x,24 */ .name = "Listen 6 Audio Service", .stream_name = "Listen 6 Audio Service", .cpu_dai_name = "LSM6", Loading @@ -6257,7 +6259,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM6, }, { {/* hw:x,25 */ .name = "Listen 7 Audio Service", .stream_name = "Listen 7 Audio Service", .cpu_dai_name = "LSM7", Loading @@ -6272,7 +6274,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM7, }, { {/* hw:x,26 */ .name = "Listen 8 Audio Service", .stream_name = "Listen 8 Audio Service", .cpu_dai_name = "LSM8", Loading @@ -6287,7 +6289,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM8, }, { {/* hw:x,27 */ .name = MSM_DAILINK_NAME(Media9), .stream_name = "MultiMedia9", .cpu_dai_name = "MultiMedia9", Loading @@ -6304,7 +6306,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_MULTIMEDIA9, }, { {/* hw:x,28 */ .name = MSM_DAILINK_NAME(Compress4), .stream_name = "Compress4", .cpu_dai_name = "MultiMedia11", Loading @@ -6320,7 +6322,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA11, }, { {/* hw:x,29 */ .name = MSM_DAILINK_NAME(Compress5), .stream_name = "Compress5", .cpu_dai_name = "MultiMedia12", Loading @@ -6336,7 +6338,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA12, }, { {/* hw:x,30 */ .name = MSM_DAILINK_NAME(Compress6), .stream_name = "Compress6", .cpu_dai_name = "MultiMedia13", Loading @@ -6352,7 +6354,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA13, }, { {/* hw:x,31 */ .name = MSM_DAILINK_NAME(Compress7), .stream_name = "Compress7", .cpu_dai_name = "MultiMedia14", Loading @@ -6368,7 +6370,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA14, }, { {/* hw:x,32 */ .name = MSM_DAILINK_NAME(Compress8), .stream_name = "Compress8", .cpu_dai_name = "MultiMedia15", Loading @@ -6384,7 +6386,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA15, }, { {/* hw:x,33 */ .name = MSM_DAILINK_NAME(ULL_NOIRQ_2), .stream_name = "MM_NOIRQ_2", .cpu_dai_name = "MultiMedia16", Loading @@ -6401,7 +6403,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA16, }, { {/* hw:x,34 */ .name = "SLIMBUS_8 Hostless", .stream_name = "SLIMBUS8_HOSTLESS Capture", .cpu_dai_name = "SLIMBUS8_HOSTLESS", Loading @@ -6415,11 +6417,42 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, {/* hw:x,35 */ .name = "CDC_DMA Hostless", .stream_name = "CDC_DMA Hostless", .cpu_dai_name = "CDC_DMA_HOSTLESS", .platform_name = "msm-pcm-hostless", .dynamic = 1, .dpcm_playback = 1, .dpcm_capture = 1, .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, .ignore_suspend = 1, /* this dailink has playback support */ .ignore_pmdown_time = 1, .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, {/* hw:x,36 */ .name = "TX3_CDC_DMA Hostless", .stream_name = "TX3_CDC_DMA Hostless", .cpu_dai_name = "TX3_CDC_DMA_HOSTLESS", .platform_name = "msm-pcm-hostless", .dynamic = 1, .dpcm_capture = 1, .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, .ignore_suspend = 1, .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, }; static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { { {/* hw:x,37 */ .name = LPASS_BE_SLIMBUS_4_TX, .stream_name = "Slimbus4 Capture", .cpu_dai_name = "msm-dai-q6-dev.16393", Loading @@ -6433,7 +6466,7 @@ static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { .ignore_suspend = 1, }, /* Ultrasound RX DAI Link */ { {/* hw:x,38 */ .name = "SLIMBUS_2 Hostless Playback", .stream_name = "SLIMBUS_2 Hostless Playback", .cpu_dai_name = "msm-dai-q6-dev.16388", Loading @@ -6446,7 +6479,7 @@ static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { .ops = &msm_slimbus_2_be_ops, }, /* Ultrasound TX DAI Link */ { {/* hw:x,39 */ .name = "SLIMBUS_2 Hostless Capture", .stream_name = "SLIMBUS_2 Hostless Capture", .cpu_dai_name = "msm-dai-q6-dev.16389", Loading @@ -6460,7 +6493,7 @@ static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { }; static struct snd_soc_dai_link msm_bolero_fe_dai_links[] = { { {/* hw:x,37 */ .name = LPASS_BE_WSA_CDC_DMA_TX_0, .stream_name = "WSA CDC DMA0 Capture", .cpu_dai_name = "msm-dai-cdc-dma-dev.45057", Loading Loading
asoc/sm6150.c +77 −44 Original line number Diff line number Diff line Loading @@ -4392,7 +4392,8 @@ static int msm_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_1: case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_2: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_0: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_1: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_3: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_4: idx = msm_cdc_dma_get_idx_from_beid(dai_link->id); param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, cdc_dma_tx_cfg[idx].bit_format); Loading Loading @@ -5122,7 +5123,8 @@ static int msm_snd_cdc_dma_hw_params(struct snd_pcm_substream *substream, case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_1: case MSM_BACKEND_DAI_WSA_CDC_DMA_TX_2: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_0: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_1: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_3: case MSM_BACKEND_DAI_TX_CDC_DMA_TX_4: { ch_id = msm_cdc_dma_get_idx_from_beid(dai_link->id); pr_debug("%s: id %d tx_ch=%d\n", __func__, Loading Loading @@ -5850,7 +5852,7 @@ static struct snd_soc_ops msm_wcn_ops = { /* Digital audio interface glue - connects codec <---> CPU */ static struct snd_soc_dai_link msm_common_dai_links[] = { /* FrontEnd DAI Links */ { {/* hw:x,0 */ .name = MSM_DAILINK_NAME(Media1), .stream_name = "MultiMedia1", .cpu_dai_name = "MultiMedia1", Loading @@ -5868,7 +5870,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_MULTIMEDIA1 }, { {/* hw:x,1 */ .name = MSM_DAILINK_NAME(Media2), .stream_name = "MultiMedia2", .cpu_dai_name = "MultiMedia2", Loading @@ -5885,7 +5887,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_MULTIMEDIA2, }, { {/* hw:x,2 */ .name = "VoiceMMode1", .stream_name = "VoiceMMode1", .cpu_dai_name = "VoiceMMode1", Loading @@ -5902,7 +5904,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_VOICEMMODE1, }, { {/* hw:x,3 */ .name = "MSM VoIP", .stream_name = "VoIP", .cpu_dai_name = "VoIP", Loading @@ -5919,7 +5921,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_VOIP, }, { {/* hw:x,4 */ .name = MSM_DAILINK_NAME(ULL), .stream_name = "MultiMedia3", .cpu_dai_name = "MultiMedia3", Loading @@ -5937,7 +5939,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_MULTIMEDIA3, }, /* Hostless PCM purpose */ { {/* hw:x,5 */ .name = "SLIMBUS_0 Hostless", .stream_name = "SLIMBUS_0 Hostless", .cpu_dai_name = "SLIMBUS0_HOSTLESS", Loading @@ -5954,7 +5956,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,6 */ .name = "MSM AFE-PCM RX", .stream_name = "AFE-PROXY RX", .cpu_dai_name = "msm-dai-q6-dev.241", Loading @@ -5966,7 +5968,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .ignore_pmdown_time = 1, }, { {/* hw:x,7 */ .name = "MSM AFE-PCM TX", .stream_name = "AFE-PROXY TX", .cpu_dai_name = "msm-dai-q6-dev.240", Loading @@ -5976,7 +5978,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .dpcm_capture = 1, .ignore_suspend = 1, }, { {/* hw:x,8 */ .name = MSM_DAILINK_NAME(Compress1), .stream_name = "Compress1", .cpu_dai_name = "MultiMedia4", Loading @@ -5994,7 +5996,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA4, }, { {/* hw:x,9 */ .name = "AUXPCM Hostless", .stream_name = "AUXPCM Hostless", .cpu_dai_name = "AUXPCM_HOSTLESS", Loading @@ -6011,7 +6013,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,10 */ .name = "SLIMBUS_1 Hostless", .stream_name = "SLIMBUS_1 Hostless", .cpu_dai_name = "SLIMBUS1_HOSTLESS", Loading @@ -6028,7 +6030,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,11 */ .name = "SLIMBUS_3 Hostless", .stream_name = "SLIMBUS_3 Hostless", .cpu_dai_name = "SLIMBUS3_HOSTLESS", Loading @@ -6045,10 +6047,10 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { .name = "SLIMBUS_4 Hostless", .stream_name = "SLIMBUS_4 Hostless", .cpu_dai_name = "SLIMBUS4_HOSTLESS", {/* hw:x,12 */ .name = "SLIMBUS_7 Hostless", .stream_name = "SLIMBUS_7 Hostless", .cpu_dai_name = "SLIMBUS7_HOSTLESS", .platform_name = "msm-pcm-hostless", .dynamic = 1, .dpcm_playback = 1, Loading @@ -6062,7 +6064,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,13 */ .name = MSM_DAILINK_NAME(LowLatency), .stream_name = "MultiMedia5", .cpu_dai_name = "MultiMedia5", Loading @@ -6081,7 +6083,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_MULTIMEDIA5, .ops = &msm_fe_qos_ops, }, { {/* hw:x,14 */ .name = "Listen 1 Audio Service", .stream_name = "Listen 1 Audio Service", .cpu_dai_name = "LSM1", Loading @@ -6097,7 +6099,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_LSM1, }, /* Multiple Tunnel instances */ { {/* hw:x,15 */ .name = MSM_DAILINK_NAME(Compress2), .stream_name = "Compress2", .cpu_dai_name = "MultiMedia7", Loading @@ -6113,7 +6115,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA7, }, { {/* hw:x,16 */ .name = MSM_DAILINK_NAME(MultiMedia10), .stream_name = "MultiMedia10", .cpu_dai_name = "MultiMedia10", Loading @@ -6130,7 +6132,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA10, }, { {/* hw:x,17 */ .name = MSM_DAILINK_NAME(ULL_NOIRQ), .stream_name = "MM_NOIRQ", .cpu_dai_name = "MultiMedia8", Loading @@ -6149,7 +6151,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ops = &msm_fe_qos_ops, }, /* HDMI Hostless */ { {/* hw:x,18 */ .name = "HDMI_RX_HOSTLESS", .stream_name = "HDMI_RX_HOSTLESS", .cpu_dai_name = "HDMI_HOSTLESS", Loading @@ -6164,7 +6166,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, { {/* hw:x,19 */ .name = "VoiceMMode2", .stream_name = "VoiceMMode2", .cpu_dai_name = "VoiceMMode2", Loading @@ -6182,7 +6184,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .id = MSM_FRONTEND_DAI_VOICEMMODE2, }, /* LSM FE */ { {/* hw:x,20 */ .name = "Listen 2 Audio Service", .stream_name = "Listen 2 Audio Service", .cpu_dai_name = "LSM2", Loading @@ -6197,7 +6199,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM2, }, { {/* hw:x,21 */ .name = "Listen 3 Audio Service", .stream_name = "Listen 3 Audio Service", .cpu_dai_name = "LSM3", Loading @@ -6212,7 +6214,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM3, }, { {/* hw:x,22 */ .name = "Listen 4 Audio Service", .stream_name = "Listen 4 Audio Service", .cpu_dai_name = "LSM4", Loading @@ -6227,7 +6229,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM4, }, { {/* hw:x,23 */ .name = "Listen 5 Audio Service", .stream_name = "Listen 5 Audio Service", .cpu_dai_name = "LSM5", Loading @@ -6242,7 +6244,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM5, }, { {/* hw:x,24 */ .name = "Listen 6 Audio Service", .stream_name = "Listen 6 Audio Service", .cpu_dai_name = "LSM6", Loading @@ -6257,7 +6259,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM6, }, { {/* hw:x,25 */ .name = "Listen 7 Audio Service", .stream_name = "Listen 7 Audio Service", .cpu_dai_name = "LSM7", Loading @@ -6272,7 +6274,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM7, }, { {/* hw:x,26 */ .name = "Listen 8 Audio Service", .stream_name = "Listen 8 Audio Service", .cpu_dai_name = "LSM8", Loading @@ -6287,7 +6289,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_name = "snd-soc-dummy", .id = MSM_FRONTEND_DAI_LSM8, }, { {/* hw:x,27 */ .name = MSM_DAILINK_NAME(Media9), .stream_name = "MultiMedia9", .cpu_dai_name = "MultiMedia9", Loading @@ -6304,7 +6306,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .ignore_pmdown_time = 1, .id = MSM_FRONTEND_DAI_MULTIMEDIA9, }, { {/* hw:x,28 */ .name = MSM_DAILINK_NAME(Compress4), .stream_name = "Compress4", .cpu_dai_name = "MultiMedia11", Loading @@ -6320,7 +6322,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA11, }, { {/* hw:x,29 */ .name = MSM_DAILINK_NAME(Compress5), .stream_name = "Compress5", .cpu_dai_name = "MultiMedia12", Loading @@ -6336,7 +6338,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA12, }, { {/* hw:x,30 */ .name = MSM_DAILINK_NAME(Compress6), .stream_name = "Compress6", .cpu_dai_name = "MultiMedia13", Loading @@ -6352,7 +6354,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA13, }, { {/* hw:x,31 */ .name = MSM_DAILINK_NAME(Compress7), .stream_name = "Compress7", .cpu_dai_name = "MultiMedia14", Loading @@ -6368,7 +6370,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA14, }, { {/* hw:x,32 */ .name = MSM_DAILINK_NAME(Compress8), .stream_name = "Compress8", .cpu_dai_name = "MultiMedia15", Loading @@ -6384,7 +6386,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA15, }, { {/* hw:x,33 */ .name = MSM_DAILINK_NAME(ULL_NOIRQ_2), .stream_name = "MM_NOIRQ_2", .cpu_dai_name = "MultiMedia16", Loading @@ -6401,7 +6403,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { /* this dainlink has playback support */ .id = MSM_FRONTEND_DAI_MULTIMEDIA16, }, { {/* hw:x,34 */ .name = "SLIMBUS_8 Hostless", .stream_name = "SLIMBUS8_HOSTLESS Capture", .cpu_dai_name = "SLIMBUS8_HOSTLESS", Loading @@ -6415,11 +6417,42 @@ static struct snd_soc_dai_link msm_common_dai_links[] = { .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, {/* hw:x,35 */ .name = "CDC_DMA Hostless", .stream_name = "CDC_DMA Hostless", .cpu_dai_name = "CDC_DMA_HOSTLESS", .platform_name = "msm-pcm-hostless", .dynamic = 1, .dpcm_playback = 1, .dpcm_capture = 1, .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, .ignore_suspend = 1, /* this dailink has playback support */ .ignore_pmdown_time = 1, .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, {/* hw:x,36 */ .name = "TX3_CDC_DMA Hostless", .stream_name = "TX3_CDC_DMA Hostless", .cpu_dai_name = "TX3_CDC_DMA_HOSTLESS", .platform_name = "msm-pcm-hostless", .dynamic = 1, .dpcm_capture = 1, .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, .ignore_suspend = 1, .codec_dai_name = "snd-soc-dummy-dai", .codec_name = "snd-soc-dummy", }, }; static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { { {/* hw:x,37 */ .name = LPASS_BE_SLIMBUS_4_TX, .stream_name = "Slimbus4 Capture", .cpu_dai_name = "msm-dai-q6-dev.16393", Loading @@ -6433,7 +6466,7 @@ static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { .ignore_suspend = 1, }, /* Ultrasound RX DAI Link */ { {/* hw:x,38 */ .name = "SLIMBUS_2 Hostless Playback", .stream_name = "SLIMBUS_2 Hostless Playback", .cpu_dai_name = "msm-dai-q6-dev.16388", Loading @@ -6446,7 +6479,7 @@ static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { .ops = &msm_slimbus_2_be_ops, }, /* Ultrasound TX DAI Link */ { {/* hw:x,39 */ .name = "SLIMBUS_2 Hostless Capture", .stream_name = "SLIMBUS_2 Hostless Capture", .cpu_dai_name = "msm-dai-q6-dev.16389", Loading @@ -6460,7 +6493,7 @@ static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { }; static struct snd_soc_dai_link msm_bolero_fe_dai_links[] = { { {/* hw:x,37 */ .name = LPASS_BE_WSA_CDC_DMA_TX_0, .stream_name = "WSA CDC DMA0 Capture", .cpu_dai_name = "msm-dai-cdc-dma-dev.45057", Loading