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-09 07:07:14 +09:00
2012-10-09 07:07:14 +09:00
2012-10-09 07:07:14 +09:00
2012-09-05 20:05:11 +08:00
2012-01-13 15:00:22 +00:00
2012-10-09 07:07:14 +09:00
2012-10-09 07:07:14 +09:00
2012-09-10 17:27:05 +08:00
2012-10-09 07:07:14 +09:00
2011-12-13 00:20:28 +08:00
2012-10-09 07:07:14 +09:00