ASoC: lpass-cdc: Update digital codec driver name
Update LPASS digital codec driver name for proper enumeration. Change-Id: Ied6a3697a5e47c0695b6339ec7b4b4561ef6ccbd Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
@@ -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 <linux/module.h>
|
||||
@@ -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",
|
||||
|
@@ -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 <linux/of_platform.h>
|
||||
@@ -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
|
||||
|
@@ -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 <linux/clk.h>
|
||||
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user