From: Peter Ujfalusi Date: Fri, 4 Apr 2014 11:31:44 +0000 (+0300) Subject: ASoC: davinci-mcasp: Move the FS polarity change out from the switch case X-Git-Tag: omap-for-v3.16/fixes-against-rc1~21^2~52^2~5^4~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83f12503bd1fb18d3fd460871660b34faf671918;p=pandora-kernel.git ASoC: davinci-mcasp: Move the FS polarity change out from the switch case FS polarity can be either rising or falling edge in McASP. Instead of accessing the registers in every switch/case set a flag and write the registers after the switch for the invert configuration. This change will help when adding support for more formats also. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- Reading git-diff-tree failed