From: Jarkko Nikula Date: Fri, 30 Sep 2011 07:55:33 +0000 (+0300) Subject: ASoC: Davinci: Fix FS polarity for I2S format X-Git-Tag: v3.2-rc1~127^2~1^2~208 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad51f765447f55699e3280086b32502f9a391345;p=pandora-kernel.git 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 Cc: Vaibhav Bedia Cc: Sekhar Nori Cc: Kevin Hilman Signed-off-by: Mark Brown --- Reading git-diff-tree failed