diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2014-08-08 14:47:21 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-13 19:50:21 +0100 |
commit | d177143c3670aa57ee08c73880beb55ee9d8ab7c (patch) | |
tree | f362587cb952cb02048bd623f7d783749de0ebe6 /sound/soc/fsl/fsl_sai.c | |
parent | ae34a78c430c37c06404f032fb04e51315204281 (diff) | |
download | blackbird-op-linux-d177143c3670aa57ee08c73880beb55ee9d8ab7c.tar.gz blackbird-op-linux-d177143c3670aa57ee08c73880beb55ee9d8ab7c.zip |
ASoC: fsl_esai: refine esai for TDM support
Original driver didn't store the number of slots, just fix the slot number
to 2, use this default number to calculate bclk and pins for TX/RX.
In this patch, add one parameter for slots, and update the calculation of
bclk and pins of TX/RX. Then driver will be compatible with slots > 2 in
TDM mode.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.c')
0 files changed, 0 insertions, 0 deletions