diff options
author | S.j. Wang <shengjiu.wang@nxp.com> | 2019-02-27 06:31:12 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-21 14:49:36 +0000 |
commit | 0ff4e8c61b794a4bf6c854ab071a1abaaa80f358 (patch) | |
tree | c395ad092e7bd5f8869b85fce51337d73adaf1b6 /certs | |
parent | 53f67a78663811968f426d480bc55887d787bd94 (diff) | |
download | linux-0ff4e8c61b794a4bf6c854ab071a1abaaa80f358.tar.gz linux-0ff4e8c61b794a4bf6c854ab071a1abaaa80f358.tar.bz2 linux-0ff4e8c61b794a4bf6c854ab071a1abaaa80f358.zip |
ASoC: fsl_esai: fix channel swap issue when stream starts
There is very low possibility ( < 0.1% ) that channel swap happened
in beginning when multi output/input pin is enabled. The issue is
that hardware can't send data to correct pin in the beginning with
the normal enable flow.
This is hardware issue, but there is no errata, the workaround flow
is that: Each time playback/recording, firstly clear the xSMA/xSMB,
then enable TE/RE, then enable xSMB and xSMA (xSMB must be enabled
before xSMA). Which is to use the xSMA as the trigger start register,
previously the xCR_TE or xCR_RE is the bit for starting.
Fixes commit 43d24e76b698 ("ASoC: fsl_esai: Add ESAI CPU DAI driver")
Cc: <stable@vger.kernel.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions