linux-stable/sound/soc/fsl
Shengjiu Wang 8f0f016475
ASoC: fsl_sai: Fix channel swap issue on i.MX8MP
When flag mclk_with_tere and mclk_direction_output enabled,
The SAI transmitter or receiver will be enabled in very early
stage, that if FSL_SAI_xMR is set by previous case,
for example previous case is one channel, current case is
two channels, then current case started with wrong xMR in
the beginning, then channel swap happen.

The patch is to clear xMR in hw_free() to avoid such
channel swap issue.

Fixes: 3e4a826129 ("ASoC: fsl_sai: MCLK bind with TX/RX enable bit")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://msgid.link/r/1702953057-4499-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-12-19 13:23:39 +00:00
..
efika-audio-fabric.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
eukrea-tlv320.c ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
fsl_asrc_common.h ASoC: fsl_asrc_dma: Fix data copying speed issue with EDMA 2020-06-12 14:18:04 +01:00
fsl_asrc_dma.c ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
fsl_asrc.c ASoC: fsl: merge DAI call back functions into ops 2023-08-14 13:10:07 +01:00
fsl_asrc.h ASoC: fsl_asrc: Move common definition to fsl_asrc_common 2020-04-21 16:34:09 +01:00
fsl_aud2htx.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
fsl_aud2htx.h ASoC: fsl_aud2htx: Add aud2htx module driver 2020-11-05 17:06:16 +00:00
fsl_audmix.c ASoC: fsl: fsl_audmix: Convert to platform remove callback returning void 2023-03-20 13:07:58 +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 ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
fsl_dma.h ASoC: fsl-dma: Switch to SPDX identifier 2019-04-08 13:51:01 +07:00
fsl_easrc.c ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe 2023-10-23 13:27:13 +01:00
fsl_easrc.h ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format 2022-07-21 13:38:51 +01:00
fsl_esai.c ASoC: fsl: merge DAI call back functions into ops 2023-08-14 13:10:07 +01:00
fsl_esai.h ASoC: fsl_esai: Switch to SPDX identifier 2018-05-03 10:29:05 +09:00
fsl_micfil.c ASoC: fsl: merge DAI call back functions into ops 2023-08-14 13:10:07 +01:00
fsl_micfil.h ASoC: Merge up fixes 2023-08-10 00:19:02 +01:00
fsl_mqs.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
fsl_qmc_audio.c ASoC: fsl: fsl_qmc_audio: Fix snd_pcm_format_t values handling 2023-07-26 19:08:15 +01:00
fsl_rpmsg.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
fsl_rpmsg.h ASoC: fsl_rpmsg: add soc specific data structure 2021-09-13 01:59:15 +01:00
fsl_sai.c ASoC: fsl_sai: Fix channel swap issue on i.MX8MP 2023-12-19 13:23:39 +00:00
fsl_sai.h ASoC: fsl_sai: Disable bit clock with transmitter 2023-07-17 19:15:07 +01:00
fsl_spdif.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
fsl_spdif.h ASoC: fsl_spdif: Add support for 22.05 kHz sample rate 2023-07-19 18:47:18 +01:00
fsl_ssi_dbg.c ASoC: fsl: fsl_ssi_dbg: remove spurious kernel-doc comment start 2020-07-03 16:09:24 +01:00
fsl_ssi.c ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
fsl_ssi.h ASoC: fsl: no need to check return value of debugfs_create functions 2019-06-14 16:37:48 +01:00
fsl_utils.c ASoC: fsl: fsl-utils: remove useless assignment 2022-08-31 12:13:03 +01:00
fsl_utils.h ASoC: fsl_utils: Add function to handle PLL clock source 2022-07-05 13:00:37 +01:00
fsl_xcvr.c ASoC: fsl_xcvr: refine the requested phy clock frequency 2023-11-23 12:41:46 +00:00
fsl_xcvr.h ASoC: fsl_xcvr: Add support for i.MX93 platform 2023-01-09 13:04:22 +00:00
fsl-asoc-card.c ASoC: fsl-asoc-card: Add comment for mclk in the codec_priv 2023-10-12 20:30:46 +01:00
imx-audio-rpmsg.c ASoC: imx-audio-rpmsg: Remove redundant initialization owner in imx_audio_rpmsg_driver 2023-08-08 18:57:14 +01:00
imx-audmix.c ASoC: Merge up fixes 2023-09-26 16:14:44 +02:00
imx-audmux.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
imx-audmux.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
imx-card.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
imx-es8328.c ASoC: imx-es8328: Map missing jack kcontrols 2023-08-07 14:32:49 +01:00
imx-hdmi.c ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
imx-pcm-dma.c ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
imx-pcm-fiq.c ASoC: fsl: imx-pcm-fiq: Use managed buffer allocation 2021-08-04 08:08:42 +02:00
imx-pcm-rpmsg.c ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
imx-pcm-rpmsg.h ASoC: imx-pcm-rpmsg: Fix warning of incorrect type in assignment 2021-05-10 13:05:38 +01:00
imx-pcm.h ASoC: fsl: Remove unused inline function imx_pcm_dma_params_init_data() 2022-09-23 13:56:25 +01:00
imx-rpmsg.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
imx-sgtl5000.c ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
imx-spdif.c ASoC: fsl: convert not to use asoc_xxx() 2023-09-25 14:16:20 +02:00
imx-ssi.h dmaengine: imx: Move header to include/dma/ 2022-04-19 12:06:18 +01:00
Kconfig ASoC: imx-rpmsg: SND_SOC_IMX_RPMSG should depend on OF and I2C 2023-11-25 09:59:05 +00:00
Makefile ASoC: fsl: Add support for QMC audio 2023-03-05 23:37:10 +00:00
mpc5200_dma.c ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described 2023-10-10 12:39:37 +01:00
mpc5200_dma.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc5200_psc_ac97.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
mpc5200_psc_i2s.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
mpc8610_hpcd.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
p1022_ds.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
p1022_rdk.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
pcm030-audio-fabric.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00