commit | 83f12503bd1fb18d3fd460871660b34faf671918 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Fri Apr 04 14:31:44 2014 +0300 |
committer | Mark Brown <broonie@linaro.org> | Mon Apr 14 17:24:24 2014 +0100 |
tree | 7689085b75c13180b42fcffc353b301ad80ed26f | |
parent | 188edc59c297fcd971d6a4ae5f5f5dacff7b315b [diff] |
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 <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>