change codec driver for TCL phonepad

This commit is contained in:
陈金泉
2011-08-15 09:30:53 +08:00
parent dcd66583f4
commit 70ed7f8e90
2 changed files with 7 additions and 3 deletions

View File

@@ -1521,8 +1521,8 @@ CONFIG_SND_USB=y
CONFIG_SND_SOC=y
CONFIG_SND_RK29_SOC=y
CONFIG_SND_RK29_SOC_I2S=y
# CONFIG_SND_RK29_SOC_I2S_2CH is not set
CONFIG_SND_RK29_SOC_I2S_8CH=y
CONFIG_SND_RK29_SOC_I2S_2CH=y
#CONFIG_SND_RK29_SOC_I2S_8CH is not set
# CONFIG_SND_RK29_SOC_WM8988 is not set
# CONFIG_SND_RK29_SOC_WM8900 is not set
# CONFIG_SND_RK29_SOC_alc5621 is not set

View File

@@ -180,7 +180,11 @@ static struct snd_soc_ops rk29_ops = {
static struct snd_soc_dai_link rk29_dai = {
.name = "WM8994",
.stream_name = "WM8994 PCM",
.cpu_dai = &rk29_i2s_dai[0],
#ifdef CONFIG_MACH_RK29_PHONEPADSDK
.cpu_dai = &rk29_i2s_dai[1],
#else
.cpu_dai = &rk29_i2s_dai[1],
#endif
.codec_dai = &wm8994_dai,
.init = rk29_wm8994_init,
.ops = &rk29_ops,