diff options
author | Shyam Krishnan M <shyam.moni@stericsson.com> | 2011-12-07 12:53:22 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:05:03 +0200 |
commit | 08b155065cf4c27b70b8d487ca614d24b6457381 (patch) | |
tree | 13988cbfcbe52e913224e630abd5d8915caeb06a | |
parent | e840431742d3fb90b3e396204b1a03e76920e879 (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>
-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; |