diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-01-19 21:45:34 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-21 14:01:46 -0500 |
commit | cb9c130aa97bd41887a0a391388ef4070caab4d9 (patch) | |
tree | a5f117c2e7830c8d755913dbc8443ae5dc4a1aa7 /sound/soc/sh | |
parent | 477adb06bf1638a4f108d155431ec0dd1ff8ba88 (diff) |
ASoC: ak4642: add SND_SOC_DAIFMT_FORMAT support
This patch support LEFT_J / I2S only for now
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sh/fsi-ak4642.c b/sound/soc/sh/fsi-ak4642.c index 56cd34223100..a722a4c661ff 100644 --- a/sound/soc/sh/fsi-ak4642.c +++ b/sound/soc/sh/fsi-ak4642.c | |||
@@ -26,7 +26,8 @@ static int fsi_ak4642_dai_init(struct snd_soc_pcm_runtime *rtd) | |||
26 | struct snd_soc_dai *dai = rtd->codec_dai; | 26 | struct snd_soc_dai *dai = rtd->codec_dai; |
27 | int ret; | 27 | int ret; |
28 | 28 | ||
29 | ret = snd_soc_dai_set_fmt(dai, SND_SOC_DAIFMT_CBM_CFM); | 29 | ret = snd_soc_dai_set_fmt(dai, SND_SOC_DAIFMT_LEFT_J | |
30 | SND_SOC_DAIFMT_CBM_CFM); | ||
30 | if (ret < 0) | 31 | if (ret < 0) |
31 | return ret; | 32 | return ret; |
32 | 33 | ||