提交 5394637a 编写于 作者: J Janusz Krzysztofik 提交者: Mark Brown

ASoC: Use a more adequate name for the CX20442 codec DAI

In the process of unification of codec DAI names while implementing
multi-component, the CX20442 codec DAI has been renamed to "cx20442-hifi".
This new name seems not adequate for a 8kHz voice codec.

Use a better name, "cx20442-voice", as suggested by Liam Girdwood.
Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 14017615
...@@ -318,7 +318,7 @@ EXPORT_SYMBOL_GPL(v253_ops); ...@@ -318,7 +318,7 @@ EXPORT_SYMBOL_GPL(v253_ops);
*/ */
static struct snd_soc_dai_driver cx20442_dai = { static struct snd_soc_dai_driver cx20442_dai = {
.name = "cx20442-hifi", .name = "cx20442-voice",
.playback = { .playback = {
.stream_name = "Playback", .stream_name = "Playback",
.channels_min = 1, .channels_min = 1,
......
...@@ -584,7 +584,7 @@ static struct snd_soc_dai_link ams_delta_dai_link = { ...@@ -584,7 +584,7 @@ static struct snd_soc_dai_link ams_delta_dai_link = {
.name = "CX20442", .name = "CX20442",
.stream_name = "CX20442", .stream_name = "CX20442",
.cpu_dai_name ="omap-mcbsp-dai.0", .cpu_dai_name ="omap-mcbsp-dai.0",
.codec_dai_name = "cx20442-hifi", .codec_dai_name = "cx20442-voice",
.init = ams_delta_cx20442_init, .init = ams_delta_cx20442_init,
.platform_name = "omap-pcm-audio", .platform_name = "omap-pcm-audio",
.codec_name = "cx20442-codec", .codec_name = "cx20442-codec",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册