WSL2-Linux-Kernel/sound/soc/fsl
S.j. Wang 0ff4e8c61b
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 43d24e76b6 ("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>
2019-03-21 14:49:36 +00:00
..
Kconfig ASoC: Add MICFIL SoC Digital Audio Interface driver. 2019-01-07 17:00:55 +00:00
Makefile ASoC: Add MICFIL SoC Digital Audio Interface driver. 2019-01-07 17:00:55 +00:00
efika-audio-fabric.c
eukrea-tlv320.c
fsl-asoc-card.c ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe 2019-02-04 10:03:44 +01:00
fsl_asrc.c ASoC: fsl_asrc: add constraint for the asrc of older version 2019-03-21 14:49:24 +00:00
fsl_asrc.h ASoC: fsl_asrc: Switch to SPDX identifier 2018-07-24 16:58:59 +01:00
fsl_asrc_dma.c ASoC: add for_each_dpcm_be() macro 2018-09-20 10:31:20 -07:00
fsl_dma.c
fsl_dma.h
fsl_esai.c ASoC: fsl_esai: fix channel swap issue when stream starts 2019-03-21 14:49:36 +00:00
fsl_esai.h ASoC: fsl_esai: Switch to SPDX identifier 2018-05-03 10:29:05 +09:00
fsl_micfil.c ASoC: Add MICFIL SoC Digital Audio Interface driver. 2019-01-07 17:00:55 +00:00
fsl_micfil.h ASoC: Add MICFIL SoC Digital Audio Interface driver. 2019-01-07 17:00:55 +00:00
fsl_sai.c ASoC: fsl_sai: Remove expensive print in irq handler 2019-01-18 18:09:15 +00:00
fsl_sai.h ASoC: fsl_sai: Switch to SPDX identifier 2018-05-03 10:28:59 +09:00
fsl_spdif.c ASoC: fsl_spdif: fix sysclk_df type 2019-02-18 17:42:09 +00:00
fsl_spdif.h ASoC: fsl_spdif: fix TXCLK_DF mask 2019-02-18 17:41:55 +00:00
fsl_ssi.c ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt() 2019-02-20 12:02:50 +00:00
fsl_ssi.h ASoC: fsl_ssi: Switch to SPDX identifier 2018-05-03 10:28:43 +09:00
fsl_ssi_dbg.c ASoC: fsl_ssi: Change to use DEFINE_SHOW_ATTRIBUTE macro 2018-11-07 14:59:37 +00:00
fsl_utils.c ASoC: Convert to using %pOFn instead of device_node.name 2018-08-28 19:07:00 +01:00
fsl_utils.h ASoC: fsl_utils: Switch to SPDX identifier 2018-07-24 16:59:03 +01:00
imx-audmux.c ASoC: imx-audmux: change snprintf to scnprintf for possible overflow 2019-01-15 19:06:08 +00:00
imx-audmux.h
imx-es8328.c
imx-mc13783.c
imx-pcm-dma.c
imx-pcm-fiq.c
imx-pcm.h
imx-sgtl5000.c SoC: imx-sgtl5000: add missing put_device() 2019-02-19 10:47:24 +00:00
imx-spdif.c ASoC: imx-spdif: don't print EPROBE_DEFER as error 2019-01-18 18:08:47 +00:00
imx-ssi.c
imx-ssi.h
mpc5200_dma.c
mpc5200_dma.h
mpc5200_psc_ac97.c
mpc5200_psc_i2s.c
mpc8610_hpcd.c
mx27vis-aic32x4.c
p1022_ds.c
p1022_rdk.c
pcm030-audio-fabric.c ASoC: add for_each_card_prelinks() macro 2018-09-20 10:18:34 -07:00
phycore-ac97.c
wm1133-ev1.c