rk3168m: spdif support

This commit is contained in:
wuhao
2013-06-04 09:15:15 +08:00
parent 6d5423ef13
commit 3de89b5a5b
2 changed files with 6 additions and 2 deletions

View File

@@ -326,8 +326,8 @@ CONFIG_SND=y
# CONFIG_SND_ARM is not set
CONFIG_SND_SOC=y
CONFIG_SND_RK29_SOC=y
CONFIG_SND_I2S_DMA_EVENT_STATIC=y
CONFIG_SND_RK29_SOC_SPDIF=y
CONFIG_SND_I2S_DMA_EVENT_DYNAMIC=y
CONFIG_SND_RK_SOC_SPDIF=y
CONFIG_SND_RK29_SOC_RK616=y
CONFIG_SND_RK29_CODEC_SOC_SLAVE=y
CONFIG_UHID=y

View File

@@ -335,7 +335,11 @@ static __devinit int spdif_probe(struct platform_device *pdev)
#endif
#if defined (CONFIG_ARCH_RK30)
#if defined (CONFIG_ARCH_RK3066B)
iomux_set(SPDIF_TX);
#else
rk30_mux_api_set(GPIO1B2_SPDIFTX_NAME, GPIO1B_SPDIF_TX);
#endif
#elif defined (CONFIG_ARCH_RK3188)
iomux_set(SPDIF_TX);
#endif