]> 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)
commit38fcc843199d20396d75698eaffa4e4e5ea633d0
tree66fee8363e7379d59c09d7a14ecb219d1d820ee1
parent48fdd7874f07dfb3a661edca7ea1d4807bb4ccb0
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