commit | e54cf76ba2c9ec071a68e98f2830226c0cac8086 | [log] [tgz] |
---|---|---|
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | Mon Sep 16 13:01:46 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Tue Sep 17 00:57:37 2013 +0100 |
tree | 05116aeef191b8d47406c1d46917e67b993d7f6b | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f [diff] |
ASoC: core: Add API for configuration of DAI BCLK ratio Some codec drivers when running in slave mode require that BCLK to sample rate ratio is explicitly set by the machine driver as it may not be exactly rate * frame size. Extend the DAI API by adding :- int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio); Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>