MLK-16130-1: ASoC: fsl_sai: enable TCE/RCE according to input channels
authorShengjiu Wang <shengjiu.wang@freescale.com>
Tue, 1 Aug 2017 08:10:38 +0000 (16:10 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:16 +0000 (15:36 -0500)
commitfcce3f71f3ebb1846ecfa131971492446e86dd45
tree804fcd51f8994e0788cdacaf5ecb53612ed00813
parent656419e24f0d40485ff38a01803e46c3bd41a5a4
MLK-16130-1: ASoC: fsl_sai: enable TCE/RCE according to input channels

If there is only two channels input and slots is 2, then enable one
port is enough for data transfer. so enable the TCE/RCE according to
the input channels and slots configuration.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/fsl_sai.c