Daniel Mack ba764b3def ASoC: McASP: calculate values for channel size
Change davinci_config_channel_size() to derive the values for XSSZ and
XROT in DAVINCI_MCASP_[RT]XFMT_REG from the configured word length
rather than hard-coding them in a switch/case block.

Also, by directly passing the word length to
davinci_config_channel_size(), we can get rid of the
DAVINCI_AUDIO_WORD_* enum.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-12-07 14:47:01 +09:00
..
2012-10-06 16:47:53 +02:00
2012-10-11 10:21:48 +09:00
2012-10-12 12:31:28 +09:00
2012-10-06 16:47:53 +02:00
2012-10-12 12:31:28 +09:00
2011-11-02 14:15:41 +01:00