[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZrovmRCPN7pc0n40@smile.fi.intel.com>
Date: Mon, 12 Aug 2024 18:51:53 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Shenghao Ding <shenghao-ding@...com>
Cc: broonie@...nel.org, lgirdwood@...il.com, perex@...ex.cz,
pierre-louis.bossart@...ux.intel.com, 13916275206@....com,
zhourui@...qin.com, alsa-devel@...a-project.org, i-salazar@...com,
linux-kernel@...r.kernel.org, j-chadha@...com,
liam.r.girdwood@...el.com, jaden-yue@...com,
yung-chuan.liao@...ux.intel.com, dipa@...com, yuhsuan@...gle.com,
henry.lo@...com, tiwai@...e.de, baojun.xu@...com, soyer@....hu,
Baojun.Xu@....com, judyhsiao@...gle.com, navada@...com,
cujomalainey@...gle.com, aanya@...com, nayeem.mahmud@...com,
savyasanchi.shukla@...radyne.com, flaviopr@...rosoft.com,
jesse-ji@...com, darren.ye@...iatek.com, antheas.dk@...il.com,
Jerry2.Huang@...uturecenter.com
Subject: Re: [PATCH v1] ASoc: tas2781: Rename dai_driver name to unify the
name between TAS2563 and TAS2781
On Sat, Aug 03, 2024 at 11:27:14AM +0800, Shenghao Ding wrote:
> Rename dai_driver name to unify the name between TAS2563 and
> TAS2781, remove unnecessary line feed, strscpy replace scnprintf.
...
> + strscpy(name, "Speaker Profile Id", SNDRV_CTL_ELEM_ID_NAME_MAXLEN);
> + strscpy(prog_name, "Speaker Program Id",
> + SNDRV_CTL_ELEM_ID_NAME_MAXLEN);
> + strscpy(conf_name, "Speaker Config Id", SNDRV_CTL_ELEM_ID_NAME_MAXLEN);
Why not 2-parameter strscpy()?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists