ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
authorS.j. Wang <shengjiu.wang@nxp.com>
Mon, 18 Feb 2019 08:29:11 +0000 (08:29 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Feb 2019 11:40:36 +0000 (11:40 +0000)
commitcc29ea007347f39f4c5a4d27b0b555955a0277f9
tree17471eb425a9722b171712ddc564a602412e8e2f
parentd98afe1353b6dbd1527f3833da70d8525e6dbae3
ASoC: fsl_esai: fix register setting issue in RIGHT_J mode

The ESAI_xCR_xWA is xCR's bit, not the xCCR's bit, driver set it to
wrong register, correct it.

Fixes 43d24e76b698 ("ASoC: fsl_esai: Add ESAI CPU DAI driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Ackedy-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c