]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitba9d0fd0f0af3eb7ec463847b409dd88f8e5c031
treec80d2d5712bba95af3fd08c01fe2c91c049bab23
parent7c2dfee84863628f9af109131edd4344ce567d16
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