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>
Showing
Please register or sign in to comment