From 08b155065cf4c27b70b8d487ca614d24b6457381 Mon Sep 17 00:00:00 2001 From: Shyam Krishnan M Date: Wed, 7 Dec 2011 12:53:22 +0530 Subject: ASoC: cg29xx: Configuration for BTVoicecall. Modified cg29xx clock settings to support BT voice call. ST-Ericsson Linux next: NA ST-Ericsson ID: 338809 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I999bede2be223b88dfa9eaab4b0f56561a5c6769 Signed-off-by: Shyam Krishnan M Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41295 Reviewed-by: Srinidhi KASAGAR --- sound/soc/ux500/ux500_cg29xx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/soc/ux500/ux500_cg29xx.c b/sound/soc/ux500/ux500_cg29xx.c index bb95bc2c306..88814353735 100644 --- a/sound/soc/ux500/ux500_cg29xx.c +++ b/sound/soc/ux500/ux500_cg29xx.c @@ -17,6 +17,7 @@ #include "ux500_msp_dai.h" #define UX500_CG29XX_MSP_CLOCK_FREQ 18900000 +#define U5500_CG29XX_MSP_CLOCK_FREQ 13000000 #define UX500_CG29XX_DAI_SLOT_WIDTH 16 #define UX500_CG29XX_DAI_SLOTS 2 #define UX500_CG29XX_DAI_ACTIVE_SLOTS 0x02 @@ -183,7 +184,7 @@ int u5500_cg29xx_hw_params(struct snd_pcm_substream *substream, err = snd_soc_dai_set_sysclk(cpu_dai, UX500_MSP_MASTER_CLOCK, - UX500_CG29XX_MSP_CLOCK_FREQ, + U5500_CG29XX_MSP_CLOCK_FREQ, 0); if (err) { @@ -205,6 +206,8 @@ int u5500_cg29xx_hw_params(struct snd_pcm_substream *substream, err); goto out_err; } + ux500_msp_dai_set_data_delay(cpu_dai, MSP_DELAY_0); + } out_err: return err; -- cgit v1.2.3