ASoC: fsl_sai: Update Tx/Rx channel enable mask
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 6 Aug 2019 15:12:11 +0000 (18:12 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 7 Aug 2019 13:26:04 +0000 (14:26 +0100)
commitb84f50b0fcb497a62068926fca793d2d213c7dbd
tree1995837cfafdd3efa010a995866c2a575a28dc54
parent5f0ac20ed6db1d6da2eea8b862cf3d54fdfb5830
ASoC: fsl_sai: Update Tx/Rx channel enable mask

Tx channel enable (TCE) / Rx channel enable (RCE) bits
enable corresponding data channel for Tx/Rx operation.

Because SAI supports up the 8 channels TCE/RCE occupy
up the 8 bits inside TCR3/RCR3 registers we need to extend
the mask to reflect this.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/20190806151214.6783-3-daniel.baluta@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h