]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Document DAI signal polarity
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Thu, 8 Oct 2015 16:37:51 +0000 (09:37 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 16:21:14 +0000 (01:21 +0900)
commita31e15ac55674c39cd12de54dd98496e59db9813
tree66fee8363e7379d59c09d7a14ecb219d1d820ee1
parent935a478e4144e0a4f690471a4a1d8ad5718a721b
ASoC: Document DAI signal polarity

Currently there is no clear definition of what FSYNC polarity is.
Different drivers use its own definition of what is "normal" and what is
"inverted" fsync. This leads to compatibility problems between drivers.

For example TegraX1 driver assumes that DSP-A format with frames
starting at rising FSYNC edge has "inverted" polarity,
while RT5677 assumes it is "normal" polarity.

Explicitly specify meaning of BCLK/FSYNC polarity to avoid future
compatibility problems.

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h