summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/ux500/ux500_cg29xx.c5
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;