diff --git a/asoc/codecs/lpass-cdc/lpass-cdc-wsa2-macro.c b/asoc/codecs/lpass-cdc/lpass-cdc-wsa2-macro.c index 3c2d7160ac..a8b35e99cb 100644 --- a/asoc/codecs/lpass-cdc/lpass-cdc-wsa2-macro.c +++ b/asoc/codecs/lpass-cdc/lpass-cdc-wsa2-macro.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. +/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. */ #include @@ -406,7 +406,7 @@ static struct snd_soc_dai_ops lpass_cdc_wsa2_macro_dai_ops = { static struct snd_soc_dai_driver lpass_cdc_wsa2_macro_dai[] = { { - .name = "lpass_cdc_wsa2_macro_rx1", + .name = "wsa2_macro_rx1", .id = LPASS_CDC_WSA2_MACRO_AIF1_PB, .playback = { .stream_name = "WSA2_AIF1 Playback", @@ -420,7 +420,7 @@ static struct snd_soc_dai_driver lpass_cdc_wsa2_macro_dai[] = { .ops = &lpass_cdc_wsa2_macro_dai_ops, }, { - .name = "lpass_cdc_wsa2_macro_rx_mix", + .name = "wsa2_macro_rx_mix", .id = LPASS_CDC_WSA2_MACRO_AIF_MIX1_PB, .playback = { .stream_name = "WSA2_AIF_MIX1 Playback", @@ -434,7 +434,7 @@ static struct snd_soc_dai_driver lpass_cdc_wsa2_macro_dai[] = { .ops = &lpass_cdc_wsa2_macro_dai_ops, }, { - .name = "lpass_cdc_wsa2_macro_vifeedback", + .name = "wsa2_macro_vifeedback", .id = LPASS_CDC_WSA2_MACRO_AIF_VI, .capture = { .stream_name = "WSA2_AIF_VI Capture", @@ -448,7 +448,7 @@ static struct snd_soc_dai_driver lpass_cdc_wsa2_macro_dai[] = { .ops = &lpass_cdc_wsa2_macro_dai_ops, }, { - .name = "lpass_cdc_wsa2_macro_echo", + .name = "wsa2_macro_echo", .id = LPASS_CDC_WSA2_MACRO_AIF_ECHO, .capture = { .stream_name = "WSA2_AIF_ECHO Capture", diff --git a/asoc/codecs/lpass-cdc/lpass-cdc.c b/asoc/codecs/lpass-cdc/lpass-cdc.c index f3f322c2cb..236ed98306 100644 --- a/asoc/codecs/lpass-cdc/lpass-cdc.c +++ b/asoc/codecs/lpass-cdc/lpass-cdc.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. +/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. */ #include @@ -19,7 +19,7 @@ #include "internal.h" #include "lpass-cdc-clk-rsc.h" -#define DRV_NAME "lpass_cdc" +#define DRV_NAME "lpass-cdc" #define LPASS_CDC_VERSION_ENTRY_SIZE 32 #define LPASS_CDC_STRING_LEN 80 diff --git a/asoc/waipio.c b/asoc/waipio.c index 09c236b5f8..514f3f60a6 100644 --- a/asoc/waipio.c +++ b/asoc/waipio.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved. */ #include @@ -987,8 +987,8 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd) &ch_rate[0], &spkleft_port_types[0]); if (dapm->component) { - snd_soc_dapm_ignore_suspend(dapm, "spkrLeft IN"); - snd_soc_dapm_ignore_suspend(dapm, "spkrLeft SPKR"); + snd_soc_dapm_ignore_suspend(dapm, "spkrLeft IN"); + snd_soc_dapm_ignore_suspend(dapm, "spkrLeft SPKR"); } wsa883x_codec_info_create_codec_entry(pdata->codec_root, @@ -1018,9 +1018,9 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd) component); } - component = snd_soc_rtdcom_lookup(rtd, "lpass_cdc_codec"); + component = snd_soc_rtdcom_lookup(rtd, "lpass-cdc"); if (!component) { - pr_err("%s: could not find component for lpass_cdc_codec\n", + pr_err("%s: could not find component for lpass-cdc\n", __func__); return ret; }