diff options
author | Daniel Mack <[email protected]> | 2012-12-05 18:20:37 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-12-07 14:47:01 +0900 |
commit | ba764b3def0b979fd22884779f1a02f701e3af72 (patch) | |
tree | 52e17dfa2480c5056866b88fbdc300b61405aed2 /lib/mpi/mpi-internal.h | |
parent | d0c6c482f6d8c2145717ab0266c87e3e792527ef (diff) |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions