ALSA: ASoC: OMAP: Fix DSP DAI format in McBSP DAI driver
authorJarkko Nikula <jarkko.nikula@nokia.com>
Mon, 20 Oct 2008 12:29:59 +0000 (15:29 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 8 Dec 2008 20:37:16 +0000 (22:37 +0200)
commitc062639260dce5b2860ca102f3a783158e3d904c
treeb7dac070f2bc3ca66da067ed54472b0821ef9e3a
parent53a4d383a3e60acc4c446d6de37f83c62f6eea97
ALSA: ASoC: OMAP: Fix DSP DAI format in McBSP DAI driver

Fix word clock length which must equal to one bit clock cycle in DSP mode.
Surprisingly McBSP is able synchronize into wrong length when it's
slave but e.g. TLV320AIC33 codec in slave configuration is outputting
some amount of noise if word clock length is longer than one bit clock
cycle.

Fix also bit clock and frame sync polarities in DSP mode since they are
opposite from I2S.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Arun KS <arunks@mistralsolutions.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/omap/omap-mcbsp.c