linux/sound/soc/fsl
Chancel Liu 9f86aea992
ASoC: fsl: imx-card: Skip sysclk reset for active DAIs in shutdown
In a full-duplex setup, when one direction (playback or capture) is
closed while the other is still running, imx_aif_shutdown() was
unconditionally calling snd_soc_dai_set_sysclk() with rate=0 for all
cpu/codec DAIs, which would disable the clock still needed by the
active stream.

Add snd_soc_dai_active() checks before clearing sysclk so that only
truly inactive DAIs have their clocks reset.

Fixes: 2260bc6ea8 ("ASoC: imx-card: Add WM8524 support")
Cc: stable@vger.kernel.org
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20260710031333.3491445-1-chancel.liu@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-07-14 22:23:00 +01:00
..
efika-audio-fabric.c ASoC: Add SPDX ids to many soc files 2026-02-22 23:52:20 +00:00
eukrea-tlv320.c ASoC: fsl: eukrea-tlv320: update board checks to use the DT 2026-05-11 09:49:01 +09:00
fsl_asrc_common.h ASoC: fsl_asrc_m2m: Add option to start ASRC before DMA device for M2M 2026-02-06 17:22:35 +00:00
fsl_asrc_dma.c ASoC: fsl_asrc_dma: fix eDMA maxburst misalignment with channel count 2026-06-25 14:56:27 +01:00
fsl_asrc_m2m.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fsl_asrc.c ASoC: fsl_asrc: Add support for i.MX952 platform 2026-02-06 17:22:36 +00:00
fsl_asrc.h ASoC: fsl_asrc: Add support for i.MX952 platform 2026-02-06 17:22:36 +00:00
fsl_aud2htx.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
fsl_aud2htx.h ASoC: fsl_aud2htx: add IEC958_SUBFRAME_LE format in supported list 2025-10-21 15:10:55 +01:00
fsl_audmix.c ASoC: fsl: fsl_audmix: Validate written enum values 2026-06-11 20:44:45 +01:00
fsl_audmix.h
fsl_dma.c ASoC: update outdated comments for removed snd_soc_new_pcms() 2026-03-24 19:52:27 +00:00
fsl_dma.h
fsl_easrc.c ASoC: fsl: fix mixer-test failures 2026-04-01 18:24:31 +01:00
fsl_easrc.h ASoC: fsl_easrc: define functions for memory to memory usage 2024-12-13 08:57:08 +00:00
fsl_esai.c ASoC: fsl: Convert to RUNTIME_PM_OPS() and co 2025-03-17 10:14:39 +00:00
fsl_esai.h
fsl_micfil.c ASoC: fsl_micfil: Add DC output remover control 2026-04-27 06:49:41 +09:00
fsl_micfil.h ASoC: fsl_micfil: Add DC output remover control 2026-04-27 06:49:41 +09:00
fsl_mqs.c ASoC: fsl_mqs: rename system manager indices for i.MX95 2025-07-03 12:59:59 +01:00
fsl_qmc_audio.c ASoC: fsl: fsl_qmc_audio: use scoped child node loop 2026-06-12 16:12:10 +01:00
fsl_rpmsg.c ASoC: fsl_rpmsg: Allocate a smaller buffer size for capture stream 2025-05-02 05:38:54 +09:00
fsl_rpmsg.h ASoC: fsl_rpmsg: Allocate a smaller buffer size for capture stream 2025-05-02 05:38:54 +09:00
fsl_sai.c ASoC: fsl_sai: Fix spurious BCLK on resume by clearing BYP 2026-07-13 13:41:11 +01:00
fsl_sai.h ASoC: fsl_sai: Add RX/TX BCLK swap support 2026-04-27 08:31:54 +09:00
fsl_spdif.c ASoC: fsl_spdif: Constify some structures 2025-11-03 13:14:17 +00: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: fsl_ssi: Replace deprecated strcpy() with strscpy() 2025-12-14 19:37:28 +09:00
fsl_ssi.h
fsl_utils.c ASoC: fsl_utils: Add snd_kcontrol functions for specific cases 2026-03-10 13:55:57 +00:00
fsl_utils.h ASoC: fsl_utils: Add snd_kcontrol functions for specific cases 2026-03-10 13:55:57 +00:00
fsl_xcvr.c ASoC: fsl_xcvr: Fix event generation for cached controls 2026-05-04 22:21:24 +09:00
fsl_xcvr.h ASoC: fsl_xcvr: add bitcount and timestamp controls 2026-03-10 13:55:59 +00:00
fsl-asoc-card.c ASoC: fsl-asoc-card: reduce WM8904 PLL ratio to meet frequency limit 2026-04-30 21:07:59 +09:00
imx-audio-rpmsg.c ASoC: fsl: Let imx-audio-rpmsg register platform device for card 2024-03-25 00:32:50 +00:00
imx-audmix.c ASoC: fsl: Rename stream name of SAI DAI driver 2025-02-24 18:35:53 +00:00
imx-audmux.c ASoC: fsl: Use kcalloc() instead of kzalloc() 2025-08-20 15:09:23 +01:00
imx-audmux.h
imx-card.c ASoC: fsl: imx-card: Skip sysclk reset for active DAIs in shutdown 2026-07-14 22:23:00 +01:00
imx-es8328.c ASoC: fsl: Remove unused of_gpio.h 2024-06-10 12:48:37 +01:00
imx-hdmi.c ASoC: imx-hdmi: remove cpu_pdev related code 2025-08-24 22:41:09 +01:00
imx-pcm-dma.c ASoC: fsl: add missing MODULE_DESCRIPTION() macro 2024-06-03 15:59:20 +01:00
imx-pcm-fiq.c ASoC: fsl: name back to pcm_new()/pcm_free() 2026-03-16 13:37:50 +00:00
imx-pcm-rpmsg.c ASoC: fsl: imx-pcm-rpmsg: set debugfs_prefix via Component driver 2026-06-10 12:21:11 +01: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: imx-rpmsg: Set driver_name for snd_soc_card 2026-06-08 18:53:22 +01:00
imx-sgtl5000.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
imx-ssi.h dmaengine: imx: Move header to include/dma/ 2022-04-19 12:06:18 +01:00
Kconfig ASoC: imx-rpmsg: Support headphone jack detection 2026-06-08 18:53:21 +01:00
lpc3xxx-i2s.c ASoC: fsl: lpc3xxx: Make some symbols static 2024-08-02 14:05:32 +01:00
lpc3xxx-i2s.h ASoC: fsl: lpc3xxx-i2s: Include bitfield.h for FIELD_PREP 2024-07-01 20:07:28 +01:00
lpc3xxx-pcm.c ASoC: fsl: lpc3xxx: Make some symbols static 2024-08-02 14:05:32 +01:00
Makefile ASoC: fsl_asrc_m2m: Add memory to memory function 2024-12-13 08:57:09 +00:00
mpc5200_dma.c ASoC: fsl: mpc5200_dma: Convert to devm_ioremap() 2026-03-26 13:42:07 +00:00
mpc5200_dma.h
mpc5200_psc_ac97.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
mpc5200_psc_i2s.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
p1022_ds.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
p1022_rdk.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pcm030-audio-fabric.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00