From 7cf70c060c21fc577ee07738b2da86677dddd10f Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Fri, 31 Jul 2020 10:19:20 +0800 Subject: [PATCH] asoc: add missed name for codec dma dais Add missed name for codec dma dais to reduce warning log during bootup. Change-Id: Ie95100a359fa992d323e68b98e3f76b202846337 Signed-off-by: Meng Wang --- asoc/msm-dai-q6-v2.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/asoc/msm-dai-q6-v2.c b/asoc/msm-dai-q6-v2.c index ccc6238585b8..8b589a77877c 100644 --- a/asoc/msm-dai-q6-v2.c +++ b/asoc/msm-dai-q6-v2.c @@ -12927,6 +12927,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "TX_CDC_DMA_TX_0", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_TX_CODEC_DMA_TX_0, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -12978,6 +12979,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "TX_CDC_DMA_TX_1", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_TX_CODEC_DMA_TX_1, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13003,6 +13005,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "RX_CDC_DMA_RX_2", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_RX_CODEC_DMA_RX_2, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13028,6 +13031,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "TX_CDC_DMA_TX_2", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_TX_CODEC_DMA_TX_2, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13052,6 +13056,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "RX_CDC_DMA_RX_3", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_RX_CODEC_DMA_RX_3, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13103,6 +13108,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "RX_CDC_DMA_RX_4", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_RX_CODEC_DMA_RX_4, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13154,6 +13160,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "RX_CDC_DMA_RX_5", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_RX_CODEC_DMA_RX_5, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13179,6 +13186,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "TX_CDC_DMA_TX_5", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_TX_CODEC_DMA_TX_5, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13204,6 +13212,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "RX_CDC_DMA_RX_6", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_RX_CODEC_DMA_RX_6, .probe = msm_dai_q6_dai_cdc_dma_probe, @@ -13229,6 +13238,7 @@ static struct snd_soc_dai_driver msm_dai_q6_cdc_dma_dai[] = { .rate_min = 8000, .rate_max = 384000, }, + .name = "RX_CDC_DMA_RX_7", .ops = &msm_dai_q6_cdc_dma_ops, .id = AFE_PORT_ID_RX_CODEC_DMA_RX_7, .probe = msm_dai_q6_dai_cdc_dma_probe,