linux/sound/soc/fsl
Shengjiu Wang d56ba9a04d
ASoC: imx-card: Fix refcount issue with of_node_put
imx_card_parse_of will search all the node with loop,
if there is defer probe happen in the middle of loop,
the previous released codec node will be released
twice, then cause refcount issue.

Here assign NULL to pointer of released nodes to fix
the issue.

Fixes: aa736700f4 ("ASoC: imx-card: Add imx-card machine driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1663059601-29259-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-09-13 12:34:07 +01:00
..
Kconfig ASoC: fsl_sai: Add support for PLL switch at runtime 2022-07-05 13:00:40 +01:00
Makefile ASoC: imx-card: Add imx-card machine driver 2021-05-20 17:57:30 +01:00
efika-audio-fabric.c ASoC: fsl: efika-audio-fabric: use modern dai_link style 2019-06-06 21:41:08 +01:00
eukrea-tlv320.c ASoC: eureka-tlv320: Update to modern clocking terminology 2021-09-22 13:23:16 +01:00
fsl-asoc-card.c ASoC: fsl-asoc-card: force cast the asrc_format type 2022-07-21 13:38:50 +01:00
fsl_asrc.c ASoC: fsl_asrc: force cast the asrc_format type 2022-07-21 13:38:49 +01:00
fsl_asrc.h ASoC: fsl_asrc: Move common definition to fsl_asrc_common 2020-04-21 16:34:09 +01: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_asrc_dma: Add legacy_dai_naming flag 2022-07-04 12:44:20 +01:00
fsl_aud2htx.c ASoC: fsl_aud2htx: Add error handler for pm_runtime_enable 2022-08-25 14:17:31 +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: Rename set_fmt_new back to set_fmt 2022-06-06 12:34:00 +01: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_dma: Use managed buffer allocation 2021-08-04 08:09:09 +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_easrc: use snd_pcm_format_t type for sample_format 2022-07-21 13:38:51 +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: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:32 +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_micfil: Add support for PLL switch at runtime 2022-07-05 13:00:39 +01:00
fsl_micfil.h ASoC: fsl_micfil: change micfil default settings 2022-06-29 11:58:45 +01:00
fsl_mqs.c ASoC: fsl_mqs: Fix supported clock DAI format 2022-08-23 13:04:48 +01:00
fsl_rpmsg.c ASoC: fsl: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:32 +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 incorrect mclk number in error message 2022-08-16 13:08:56 +01:00
fsl_sai.h ASoC: fsl_sai: Add support for PLL switch at runtime 2022-07-05 13:00:40 +01:00
fsl_spdif.c ASoC: fsl_spdif: Add support for PLL switch at runtime. 2022-07-05 13:00:38 +01:00
fsl_spdif.h ASoC: fsl_spdif: Add new registers included on i.MX8ULP 2022-03-17 18:00:14 +00:00
fsl_ssi.c ASoC: fsl: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:32 +01: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_ssi_dbg.c ASoC: fsl: fsl_ssi_dbg: remove spurious kernel-doc comment start 2020-07-03 16:09:24 +01:00
fsl_utils.c ASoC: fsl_utils: Drop usage of __clk_get_name() 2022-07-11 12:06:29 +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: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:32 +01:00
fsl_xcvr.h ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver 2020-10-26 15:45:31 +00:00
imx-audio-rpmsg.c ASoC: imx-audio-rpmsg: use module_rpmsg_driver to simplify the code 2021-06-03 13:59:57 +01:00
imx-audmix.c ASoC: fsl: Update to use set_fmt_new callback 2022-06-06 12:33:32 +01:00
imx-audmux.c ASoC: imx-audmux: remove unnecessary check of clk_disable_unprepare/clk_prepare_enable 2022-06-09 11:57:46 +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: imx-card: Fix refcount issue with of_node_put 2022-09-13 12:34:07 +01:00
imx-es8328.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
imx-hdmi.c ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe 2022-05-11 17:42:11 +01: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: imx-pcm-rpmsg: Use managed buffer allocation 2021-08-04 08:08:49 +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 dmaengine: imx: Move header to include/dma/ 2022-04-19 12:06:18 +01:00
imx-rpmsg.c ASoC: imx-rpmsg: Update to modern clocking terminology 2021-09-22 13:23:27 +01:00
imx-sgtl5000.c ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe 2022-05-11 17:42:09 +01:00
imx-spdif.c ASoC: fsl: Use dev_err_probe() helper 2021-12-20 12:47:14 +00:00
imx-ssi.h dmaengine: imx: Move header to include/dma/ 2022-04-19 12:06:18 +01:00
mpc5200_dma.c ASoC: mpc5200: Use managed buffer allocation 2021-08-04 08:09:16 +02: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: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
mpc5200_psc_i2s.c ASoC: fsl: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:32 +01:00
mpc8610_hpcd.c ASoC: mpc8610_hpcd: Update to modern clocking terminology 2021-09-22 13:23:29 +01:00
p1022_ds.c ASoC: pl1022_ds: Update to modern clocking terminology 2021-09-22 13:23:30 +01:00
p1022_rdk.c ASoC: pl1022_rdk: Update to modern clocking terminology 2021-09-22 13:23:31 +01:00
pcm030-audio-fabric.c ASoC: fsl: pcm030-audio-fabric: use platform_device_unregsiter() 2022-07-04 12:44:17 +01:00