summaryrefslogtreecommitdiff
path: root/sound/soc/ti/rx51.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-01-23 12:36:45 +0000
committerMark Brown <broonie@kernel.org>2020-01-23 12:36:45 +0000
commita7196caf83ea9e9b56c5c8c95fbfe0d45acec46b (patch)
treed9147ac16e1af83463bad4e45b233bc8e51f2e0e /sound/soc/ti/rx51.c
parent20230620b44510ce968a719a1d6ee7483583178d (diff)
parentd8e2e0d2491e78f3f7b451c3a93ba29950efe2cf (diff)
Merge branch 'asoc-5.6' into asoc-next
Diffstat (limited to 'sound/soc/ti/rx51.c')
-rw-r--r--sound/soc/ti/rx51.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/ti/rx51.c b/sound/soc/ti/rx51.c
index 588f680a9c24..fdb0dc85fe67 100644
--- a/sound/soc/ti/rx51.c
+++ b/sound/soc/ti/rx51.c
@@ -328,11 +328,11 @@ static struct snd_soc_aux_dev rx51_aux_dev[] = {
static struct snd_soc_codec_conf rx51_codec_conf[] = {
{
- .dev_name = "tlv320aic3x-codec.2-0019",
+ .dlc = COMP_CODEC_CONF("tlv320aic3x-codec.2-0019"),
.name_prefix = "b",
},
{
- .dev_name = "tpa6130a2.2-0060",
+ .dlc = COMP_CODEC_CONF("tpa6130a2.2-0060"),
.name_prefix = "TPA6130A2",
},
};
@@ -397,8 +397,8 @@ static int rx51_soc_probe(struct platform_device *pdev)
}
rx51_aux_dev[0].dlc.name = NULL;
rx51_aux_dev[0].dlc.of_node = dai_node;
- rx51_codec_conf[0].dev_name = NULL;
- rx51_codec_conf[0].of_node = dai_node;
+ rx51_codec_conf[0].dlc.name = NULL;
+ rx51_codec_conf[0].dlc.of_node = dai_node;
dai_node = of_parse_phandle(np, "nokia,headphone-amplifier", 0);
if (!dai_node) {
@@ -407,8 +407,8 @@ static int rx51_soc_probe(struct platform_device *pdev)
}
rx51_aux_dev[1].dlc.name = NULL;
rx51_aux_dev[1].dlc.of_node = dai_node;
- rx51_codec_conf[1].dev_name = NULL;
- rx51_codec_conf[1].of_node = dai_node;
+ rx51_codec_conf[1].dlc.name = NULL;
+ rx51_codec_conf[1].dlc.of_node = dai_node;
}
pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL);