summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_sai.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2014-08-08 14:47:21 +0800
committerMark Brown <broonie@linaro.org>2014-08-13 19:50:21 +0100
commitd177143c3670aa57ee08c73880beb55ee9d8ab7c (patch)
treef362587cb952cb02048bd623f7d783749de0ebe6 /sound/soc/fsl/fsl_sai.c
parentae34a78c430c37c06404f032fb04e51315204281 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud