summaryrefslogtreecommitdiffstats
path: root/sound/soc/s6000/s6105-ipcam.c
diff options
context:
space:
mode:
authorDaniel Glöckner <dg@emlix.com>2009-04-06 11:50:22 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-06 11:18:39 +0100
commit80fbe6ac9b47cbc11e174a9bf853834dc281da35 (patch)
tree1ad5a6dfdf219fd8e8ce3e0a0ec0be26b11d96a7 /sound/soc/s6000/s6105-ipcam.c
parent2b7dbbe0c9491e62b50978d1615193bec33a8291 (diff)
downloadlinux-80fbe6ac9b47cbc11e174a9bf853834dc281da35.tar.bz2
ASoC: correct s6000 I2S clock polarity
According to the data sheet data is clocked out on the falling edge and latched on the rising edge of the bit clock. While the left sample is transmitted the word clock line is low. Signed-off-by: Daniel Glöckner <dg@emlix.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s6000/s6105-ipcam.c')
-rw-r--r--sound/soc/s6000/s6105-ipcam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/s6000/s6105-ipcam.c b/sound/soc/s6000/s6105-ipcam.c
index 21c4f55106ca..b5f95f9781c1 100644
--- a/sound/soc/s6000/s6105-ipcam.c
+++ b/sound/soc/s6000/s6105-ipcam.c
@@ -43,7 +43,7 @@ static int s6105_hw_params(struct snd_pcm_substream *substream,
/* set cpu DAI configuration */
ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_CBM_CFM |
- SND_SOC_DAIFMT_IB_IF);
+ SND_SOC_DAIFMT_NB_NF);
if (ret < 0)
return ret;