From: Jarkko Nikula Date: Fri, 30 Sep 2011 07:55:32 +0000 (+0300) Subject: ASoC: omap-mcbsp: Fix FS polarity for LEFT_J, DSP_A and DSP_B formats X-Git-Tag: v3.2-rc1~127^2~1^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a18ae8ffc05ffd445c5b40e5ca266888b360ce;p=pandora-kernel.git ASoC: omap-mcbsp: Fix FS polarity for LEFT_J, DSP_A and DSP_B formats 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 Acked-by: Peter Ujfalusi Signed-off-by: Mark Brown --- Reading git-diff-tree failed