]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: McASP: Fix receive clock polarity in DAIFMT_NB_NF mode.
authorMarek Belisko <marek.belisko@gmail.com>
Fri, 3 May 2013 05:37:36 +0000 (07:37 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 May 2013 08:29:59 +0000 (09:29 +0100)
commit1ea8fd7b56164517b9af582df32e038429ef2029
tree11b826a2a9a474249fc13abe351fc05889fb1072
parentd64e1953c0c208856618407fbd8d3e9e8970e592
ASoC: McASP: Fix receive clock polarity in DAIFMT_NB_NF mode.

According documentation bit ACLKRPOL is set to 0 (receiver samples data
on falling edge) and when set to 1 (receiver samples data on rising edge).

I2S data are always sampled on falling edge and valid during rising edge
of bit clock. So in case of capture data transmitter sample data on falling
edge and macsp must read then on rising edge.

Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c