ASoC: davinci-mcasp: Calculate BCLK using TDM slots and remove channels rule
authorJyri Sarha <jsarha@ti.com>
Thu, 23 Apr 2015 13:16:04 +0000 (16:16 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 30 Apr 2015 19:47:16 +0000 (20:47 +0100)
commit1f114f772ade64bca1c477322a18da8ed3bb8e6b
tree3ed7996bee2104f1c1bfa6a59745f9b6e0edea7e
parentb787f68c36d49bb1d9236f403813641efa74a031
ASoC: davinci-mcasp: Calculate BCLK using TDM slots and remove channels rule

The McASP driver currently always sends as many slots or channels to a
i2s-wire as there are configured tdm_slots (see mcasp_i2s_hw_param()).
Thus the BLCK rate does not depend on the amount of channels, just the
configure amount of tdm-slots.

Reported-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c