commit | d486fea6babfe3ff0c382c9e4baf18f535fcee7d | [log] [tgz] |
---|---|---|
author | Michal Bachraty <michal.bachraty@streamunlimited.com> | Fri Apr 19 15:28:44 2013 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Apr 23 14:50:30 2013 +0100 |
tree | ebe7a30d63d4f26389c928b0f5bc271ff1a085a3 | |
parent | 7c21a78104d7f2c155e2c12279282f659d773d05 [diff] |
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 <michal.bachraty@streamunlimited.com> Acked-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>