From: Michal Bachraty Date: Fri, 19 Apr 2013 13:28:44 +0000 (+0200) Subject: ASoC: davinci-mcasp: Add Support BCLK-to-LRCLK ratio for TDM modes X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~9^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d486fea6babfe3ff0c382c9e4baf18f535fcee7d;p=pandora-kernel.git ASoC: davinci-mcasp: Add Support BCLK-to-LRCLK ratio for TDM modes For TDM mode, BCLK-to-LCLK ratio is computed as (tdm_slots) x (word_length). I2S mode is only subset of TDM mode with specific tdm_slots = 2 channels. Also bclk_lrclk_ratio can be greater than 255, therefore u16 need to be used. Signed-off-by: Michal Bachraty Acked-by: Daniel Mack Signed-off-by: Mark Brown --- Reading git-diff-tree failed