original_kernel/sound/soc/fsl
Shengjiu Wang fe965096c9
ASoC: fsl_audmix: Add spin lock to protect tdms
Audmix support two substream, When two substream start
to run, the trigger function may be called by two substream
in same time, that the priv->tdms may be updated wrongly.

The expected priv->tdms is 0x3, but sometimes the
result is 0x2, or 0x1.

Fixes: be1df61cf0 ("ASoC: fsl: Add Audio Mixer CPU DAI driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/1e706afe53fdd1fbbbc79277c48a98f8416ba873.1573458378.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: <stable@vger.kernel.org>
2019-11-11 13:01:37 +00:00
..
Kconfig
Makefile
efika-audio-fabric.c
eukrea-tlv320.c
fsl-asoc-card.c
fsl_asrc.c ASoC: fsl_asrc: refine the setting of internal clock divider 2019-10-28 13:13:18 +00:00
fsl_asrc.h
fsl_asrc_dma.c
fsl_audmix.c ASoC: fsl_audmix: Add spin lock to protect tdms 2019-11-11 13:01:37 +00:00
fsl_audmix.h ASoC: fsl_audmix: Add spin lock to protect tdms 2019-11-11 13:01:37 +00:00
fsl_dma.c
fsl_dma.h
fsl_esai.c ASoC: fsl_esai: Add spin lock to protect reset, stop and start 2019-10-28 13:13:37 +00:00
fsl_esai.h
fsl_micfil.c
fsl_micfil.h
fsl_mqs.c
fsl_sai.c
fsl_sai.h
fsl_spdif.c
fsl_spdif.h
fsl_ssi.c
fsl_ssi.h
fsl_ssi_dbg.c
fsl_utils.c
fsl_utils.h
imx-audmix.c
imx-audmux.c
imx-audmux.h
imx-es8328.c
imx-mc13783.c
imx-pcm-dma.c
imx-pcm-fiq.c
imx-pcm.h
imx-sgtl5000.c
imx-spdif.c
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
phycore-ac97.c
wm1133-ev1.c