]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2008 15:03:21 +0000 (17:03 +0200)
commit505288eaf08733f677faa896065b934ad30b6182
treec80d2d5712bba95af3fd08c01fe2c91c049bab23
parent22194523a456c3ab8b3256c0c5c8ea70ac48bc43
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