ASoC:Tegra: Add BT-SCO initialize function
Lei Fan [Thu, 9 Jan 2014 08:25:22 +0000 (16:25 +0800)]
The initialize function for BT-SCO should be add, otherwise ther DL
audio path will be broken by BT Tone.

Bug 1428578

Change-Id: I3870b0134871a7ad95b704adabae5de836d3545d
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/353694
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

sound/soc/tegra/tegra_rt5640.c

index 8d50991..1d5264a 100644 (file)
@@ -1518,6 +1518,7 @@ static struct snd_soc_dai_link tegra_rt5640_dai[NUM_DAI_LINKS] = {
                .platform_name = "tegra-pcm-audio",
                .cpu_dai_name = "tegra30-i2s.3",
                .codec_dai_name = "dit-hifi",
+               .init = tegra_rt5640_init,
                .ops = &tegra_rt5640_bt_sco_ops,
        },
        [DAI_LINK_VOICE_CALL] = {