From: Daniel Mack Date: Wed, 5 Dec 2012 17:20:37 +0000 (+0100) Subject: ASoC: McASP: calculate values for channel size X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~8^2~65^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba764b3def0b979fd22884779f1a02f701e3af72;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed