asoc:tegra: correct the codec name and its dai
Lei FAN [Wed, 18 Dec 2013 17:09:48 +0000 (01:09 +0800)]
The codec name and its dai name is not right, it will cause the sound
card not to be registered.

Bug 1410909

Change-Id: Ibbde3be3182e839cccc69fd5df90d5e745530c1a
Signed-off-by: Lei FAN <leif@nvidia.com>
Reviewed-on: http://git-master/r/347105
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350644
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

sound/soc/tegra/tegra_rt5640.c

index 726c8a8..a989788 100644 (file)
@@ -1312,10 +1312,10 @@ static struct snd_soc_dai_link tegra_rt5640_dai[NUM_DAI_LINKS] = {
        [DAI_LINK_VOICE_CALL] = {
                .name = "VOICE CALL",
                .stream_name = "VOICE CALL PCM",
-               .codec_name = "rt5640.0-001c",
+               .codec_name = "rt5639.0-001c",
                .platform_name = "tegra-pcm-audio",
                .cpu_dai_name = "dit-hifi",
-               .codec_dai_name = "rt5640-aif1",
+               .codec_dai_name = "rt5639-aif1",
                .ops = &tegra_voice_call_ops,
        },
        [DAI_LINK_BT_VOICE_CALL] = {