ASoC: Fix non-networked I2S mode for PXA SSP
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Mar 2009 14:26:08 +0000 (14:26 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 14 Mar 2009 11:37:46 +0000 (11:37 +0000)
commit0ce36c5f7f87632f26c8fbefe68b5116eda152d2
tree16c74e694d5b8f418c0384c8079bbc9a8c2689aa
parent72d7466468b471f99cefae3c5f4a414bbbaa0bdd
ASoC: Fix non-networked I2S mode for PXA SSP

Two issues are fixed here:

 - I2S transmits the left frame with the clock low but I don't seem to
   get LRCLK out without SFRMDLY being set so invert SFRMP and set a
   delay.
 - I2S has a clock cycle prior to the first data byte in each channel
   so we need to delay the data by one cycle.

Tested-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa-ssp.c