Skip to contentSkip to conversation

ASoc: tas2781: Rename dai_driver name to unify the name between TAS2563 and TAS2781

PATCH Superseded Shenghao Ding 2 participants 3 messages Aug 6, 2024 – Aug 13, 2024

Subsystems (3)
lore
Share & tools
lore

Shenghao Ding

author maintainer
#0 lore raw

PATCH 1/1 ASoc: tas2781: Rename dai_driver name to unify the name between TAS2563 and TAS2781

Rename dai_driver name to unify the name between TAS2563 and TAS2781.

---
 sound/soc/codecs/tas2781-i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/tas2781-i2c.c +1 -1
index 8a57c045afdd..8f9574189e1f 100644
@@ -673,7 +673,7 @@ static const struct snd_soc_dai_ops tasdevice_dai_ops = {
 
 static struct snd_soc_dai_driver tasdevice_dai_driver[] = {
 	{
-		.name = "tas2781_codec",
+		.name = "tasdev_codec",
 		.id = 0,
 		.playback = {
 			.stream_name = "Playback",
Signature · 1 line
2.34.1
#1 lore raw
Quoted 2 lines · Shenghao Ding

Rename dai_driver name to unify the name between TAS2563 and TAS2781.

I am not sure this is a good change. Theoretically one with the platform that has a certain codec may connect the other one. How that will be distinguished?

If there is no issue for such configurations, please mention this fact in the commit message.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author maintainer
#2 lore raw

Hi Andy
Answer inline
From: Andy Shevchenko <[email protected]>
Sent: Tuesday, August 13, 2024 1:12 AM
To: Ding, Shenghao <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Salazar, Ivan <[email protected]>; [email protected]; Chadha, Jasjot Singh <[email protected]>; [email protected]; Yue, Jaden <[email protected]>; [email protected]; Rao, Dipa <[email protected]>; [email protected]; Lo, Henry <[email protected]>; [email protected]; Xu, Baojun <[email protected]>; [email protected]; [email protected]; [email protected]; Navada Kanyana, Mukund <[email protected]>; [email protected]; Kutty, Aanya <[email protected]>; Mahmud, Nayeem <[email protected]>; [email protected]; [email protected]; Ji, Jesse <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: [EXTERNAL] Re: [PATCH] ASoc: tas2781: Rename dai_driver name to unify the name between TAS2563 and TAS2781

On Tue, Aug 06, 2024 at 12: 17: 17PM +0800, Shenghao Ding wrote: > Rename dai_driver name to unify the name between TAS2563 and > TAS2781. I am not sure this is a good change. Theoretically one with the platform that has a certain codec ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.

Do not click links or open attachments unless you recognize the source of this email and know the content is safe.

Report Suspicious <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!uBdnVV-BGyfThcmOspiPk_6mgviDIpMpU9lNaStHOlAnmlORtYg0KTnMhfSSI5acx0kk2CbMnnsjoWU-o8U$> ‌

ZjQcmQRYFpfptBannerEnd

Quoted 3 lines · Shenghao Ding

Rename dai_driver name to unify the name between TAS2563 and

TAS2781.

I am not sure this is a good change. Theoretically one with the platform that

has a certain codec may connect the other one. How that will be distinguished?

[DING] As you know, this driver code can support both tas2563 and tas2781.

But some tas2563 customers feel confused and uncomfortable, when they

found the dai_driver name is still tas2781. So, update the name for them

If there is no issue for such configurations, please mention this fact in the

commit message.

[DING] Accept

--

With Best Regards,

Andy Shevchenko