diff options
author | Daniel Glöckner <dg@emlix.com> | 2009-04-06 05:50:22 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-06 06:18:39 -0400 |
commit | 80fbe6ac9b47cbc11e174a9bf853834dc281da35 (patch) | |
tree | 1ad5a6dfdf219fd8e8ce3e0a0ec0be26b11d96a7 /sound/soc/s6000/s6000-i2s.c | |
parent | 2b7dbbe0c9491e62b50978d1615193bec33a8291 (diff) |
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/s6000-i2s.c')
-rw-r--r-- | sound/soc/s6000/s6000-i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/s6000/s6000-i2s.c b/sound/soc/s6000/s6000-i2s.c index dcc79040bdac..c5cda187ecab 100644 --- a/sound/soc/s6000/s6000-i2s.c +++ b/sound/soc/s6000/s6000-i2s.c | |||
@@ -252,10 +252,10 @@ static int s6000_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, | |||
252 | } | 252 | } |
253 | 253 | ||
254 | switch (fmt & SND_SOC_DAIFMT_INV_MASK) { | 254 | switch (fmt & SND_SOC_DAIFMT_INV_MASK) { |
255 | case SND_SOC_DAIFMT_IB_IF: | 255 | case SND_SOC_DAIFMT_NB_NF: |
256 | w |= S6_I2S_LEFT_FIRST; | 256 | w |= S6_I2S_LEFT_FIRST; |
257 | break; | 257 | break; |
258 | case SND_SOC_DAIFMT_IB_NF: | 258 | case SND_SOC_DAIFMT_NB_IF: |
259 | w |= S6_I2S_RIGHT_FIRST; | 259 | w |= S6_I2S_RIGHT_FIRST; |
260 | break; | 260 | break; |
261 | default: | 261 | default: |