linux/sound/soc/fsl
Shengjiu Wang 94589fc6df ASoC: fsl_sai: initialize is_dsp_mode flag
[ Upstream commit a23924b7dd ]

Initialize is_dsp_mode flag in the beginning of function
fsl_sai_set_dai_fmt_tr().

When the DAIFMT is DAIFMT_DSP_B the first time, is_dsp_mode is
true, then the second time DAIFMT is DAIFMT_I2S, is_dsp_mode
still true, which is a wrong state. So need to initialize
is_dsp_mode flag every time.

Fixes: a3f7dcc9cc ("ASoC: fsl-sai: Add SND_SOC_DAIFMT_DSP_A/B support.")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Link: https://lore.kernel.org/r/1673852874-32200-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:12 +01:00
..
efika-audio-fabric.c
eukrea-tlv320.c ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API 2022-09-14 15:05:59 +01:00
fsl_asrc_common.h
fsl_asrc_dma.c ASoC: fsl_asrc_dma: fully initialize structs 2022-09-23 17:54:14 +01:00
fsl_asrc.c ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N 2022-10-28 17:14:43 +01:00
fsl_asrc.h
fsl_aud2htx.c ASoC: fsl_aud2htx: Add error handler for pm_runtime_enable 2022-08-25 14:17:31 +01:00
fsl_aud2htx.h
fsl_audmix.c ASoC: fsl_audmux: Fix amixer write errors 2022-09-23 17:54:10 +01:00
fsl_audmix.h
fsl_dma.c
fsl_dma.h
fsl_easrc.c
fsl_easrc.h
fsl_esai.c ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N 2022-10-28 17:14:43 +01:00
fsl_esai.h
fsl_micfil.c ASoC: fsl_micfil: Correct the number of steps on SX controls 2023-02-01 08:34:29 +01:00
fsl_micfil.h
fsl_mqs.c ASoC: fsl_mqs: Fix supported clock DAI format 2022-08-23 13:04:48 +01:00
fsl_rpmsg.c
fsl_rpmsg.h
fsl_sai.c ASoC: fsl_sai: initialize is_dsp_mode flag 2023-03-10 09:33:12 +01:00
fsl_sai.h ASoC: fsl_sai: Add support multi fifo sdma script 2022-08-23 13:04:53 +01:00
fsl_spdif.c ASoC: fsl_spdif: add ALSA event on dpll locked 2022-09-19 17:52:41 +01:00
fsl_spdif.h
fsl_ssi_dbg.c
fsl_ssi.c ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC 2023-02-01 08:34:31 +01:00
fsl_ssi.h
fsl_utils.c ASoC: fsl: fsl-utils: remove useless assignment 2022-08-31 12:13:03 +01:00
fsl_utils.h
fsl_xcvr.c
fsl_xcvr.h
fsl-asoc-card.c ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets 2023-02-01 08:34:31 +01:00
imx-audio-rpmsg.c
imx-audmix.c
imx-audmux.c
imx-audmux.h
imx-card.c ASoC: imx-card: Fix refcount issue with of_node_put 2022-09-13 12:34:07 +01:00
imx-es8328.c
imx-hdmi.c
imx-pcm-dma.c
imx-pcm-fiq.c
imx-pcm-rpmsg.c
imx-pcm-rpmsg.h
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
imx-sgtl5000.c
imx-spdif.c
imx-ssi.h
Kconfig
Makefile
mpc5200_dma.c
mpc5200_dma.h
mpc5200_psc_ac97.c
mpc5200_psc_i2s.c
mpc8610_hpcd.c
p1022_ds.c
p1022_rdk.c
pcm030-audio-fabric.c