diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2011-09-30 10:55:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-30 11:56:56 +0100 |
commit | ad51f765447f55699e3280086b32502f9a391345 (patch) | |
tree | d121970be81232d6397b7a46664b239773eff9f6 /init | |
parent | 00e982a6a333a7749bfce51cbefa5cf4f48c64ee (diff) |
ASoC: Davinci: Fix FS polarity for I2S format
Commit 75d9ac4 ("ASoC: Allow DAI formats to be specified in the dai_link")
changed DAI format flag values and we cannot simply invert anymore e.g.
frame-sync with ^= SND_SOC_DAIFMT_NB_IF (which was anyway misuse) as there
is no anymore fixed bit position for bit-clock or frame-sync inversion.
Fix this by relying only on DAI format flag values passed to us and by not
making any assumption on individual bit positions
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Cc: Vaibhav Bedia <vaibhav.bedia@ti.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions