diff options
author | Shyam Krishnan M <shyam.moni@stericsson.com> | 2011-12-07 12:53:22 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 09:01:03 +0100 |
commit | 77a0130b37d5ea6a8662ed2573daad61b49116e0 (patch) | |
tree | 9e4292340a661aad32ef15bcef7d05afec0e98e7 /sound | |
parent | 800ca6341483798475eecad7b74b5cdceef307cd (diff) |
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 <shyam.moni@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41295
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/ux500/ux500_cg29xx.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |