aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sh
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2010-03-15 05:10:50 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-23 06:59:11 -0400
commit0643ce8f42e763635d8d6cf311730a6e84d4be92 (patch)
tree20ae0fcf24ed77e547e8772406e3895c659f4679 /sound/soc/sh
parent4b6316b4b16c7fb5d51df43f0371416e054e7102 (diff)
ASoC: ak4642: Add set_fmt function for snd_soc_dai_ops
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r--sound/soc/sh/fsi-ak4642.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/sh/fsi-ak4642.c b/sound/soc/sh/fsi-ak4642.c
index c0207dc524b8..be018542314e 100644
--- a/sound/soc/sh/fsi-ak4642.c
+++ b/sound/soc/sh/fsi-ak4642.c
@@ -26,6 +26,10 @@ static int fsi_ak4642_dai_init(struct snd_soc_codec *codec)
26{ 26{
27 int ret; 27 int ret;
28 28
29 ret = snd_soc_dai_set_fmt(&ak4642_dai, SND_SOC_DAIFMT_CBM_CFM);
30 if (ret < 0)
31 return ret;
32
29 ret = snd_soc_dai_set_sysclk(&ak4642_dai, 0, 11289600, 0); 33 ret = snd_soc_dai_set_sysclk(&ak4642_dai, 0, 11289600, 0);
30 34
31 return ret; 35 return ret;