Skip to content
Commit df4a4eec authored by Marek Belisko's avatar Marek Belisko Committed by Mark Brown
Browse files

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: default avatarMarek Belisko <marek.belisko@streamunlimited.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 81ee6833
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment