linux/sound/soc
Johan Hovold 696e123aa3
ASoC: mediatek: common: fix device and OF node leak
Make sure to drop the references to the accdet OF node and platform
device taken by of_parse_phandle() and of_find_device_by_node() after
looking up the sound component during probe.

Fixes: cf536e2622 ("ASoC: mediatek: common: Handle mediatek,accdet property")
Cc: stable@vger.kernel.org	# 6.15
Cc: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20250722092542.32754-1-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-07-23 13:03:57 +01:00
..
adi ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
amd ASoC: amd: yc: Add DMI quirk for HP Laptop 17 cp-2033dx 2025-07-16 11:50:33 +01:00
apple ASoC: apple: mca: Drop default ARCH_APPLE in Kconfig 2025-06-13 12:12:26 +01:00
atmel ASoC: atmel: tse850-pcm5142: Use SOC_SINGLE_EXT() helper macro 2025-03-03 18:14:53 +00:00
au1x ASoC: au1x: Convert to DEFINE_SIMPLE_DEV_PM_OPS() 2025-03-17 10:13:47 +00:00
bcm ASoC: bcm63xx-pcm-whistler: fix uninit-value in i2s_dma_isr 2024-11-05 12:53:28 +00:00
cirrus soc: convert ep93xx to devicetree 2024-09-26 12:00:25 -07:00
codecs ASoC: rt5650: Eliminate the high frequency glitch 2025-07-21 13:26:52 +01:00
dwc ASoC: dwc: always enable/disable i2s irqs 2025-04-06 23:18:15 +01:00
fsl ASoC: fsl_sai: Force a software reset when starting in consumer mode 2025-06-29 22:10:26 +01:00
generic AsoC: Phase out hybrid PCI devres 2025-05-06 08:42:25 +09:00
google ASoC: google: fix module autoloading 2024-08-26 15:52:07 +01:00
hisilicon
img ASoC: img: Convert to RUNTIME_PM_OPS() and co 2025-03-17 10:14:40 +00:00
intel ASoC: Intel: soc-acpi: add support for HP Omen14 ARL 2025-07-16 11:50:32 +01:00
jz4740
kirkwood ASoC: kirkwood: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-02-25 13:19:20 +00:00
loongson ASoC: loongson: Fix build warnings about export.h 2025-06-08 23:29:06 +01:00
mediatek ASoC: mediatek: common: fix device and OF node leak 2025-07-23 13:03:57 +01:00
meson ASoC: meson: meson-card-utils: use of_property_present() for DT parsing 2025-04-24 12:56:15 +01:00
mxs ASoC: mxs: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-03-03 12:57:19 +00:00
pxa ASoC: pxa: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-03-03 12:57:20 +00:00
qcom ASoC: qcom: sm8250: Fix possibly undefined reference 2025-06-23 00:26:25 +01:00
renesas AsoC: Phase out hybrid PCI devres 2025-05-06 08:42:25 +09:00
rockchip ASoC: rockchip: add Serial Audio Interface (SAI) driver 2025-04-22 15:35:17 +01:00
samsung ASoC: samsung: Convert to RUNTIME_PM_OPS() & co 2025-03-17 10:14:54 +00:00
sdca ASoC: SDCA: correct the calculation of the maximum init table size 2025-07-21 16:04:47 +01:00
sdw_utils ASoC: sdw_utils: Fix potential NULL pointer deref in is_sdca_endpoint_present() 2025-06-10 12:46:16 +01:00
sof ASoC: SOF: Intel: PTL: Add the sdw_process_wakeen op 2025-07-21 13:26:51 +01:00
spear
sprd ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
starfive ASoC: starfive: Use max() to simplify code in jh7110_tdm_syncdiv() 2025-04-25 13:20:00 +01:00
sti
stm AsoC: Phase out hybrid PCI devres 2025-05-06 08:42:25 +09:00
sunxi ASoC: sun8i-codec: Remove unnecessary NULL check before clk_prepare_enable/clk_disable_unprepare 2025-04-06 23:25:13 +01:00
tegra ASoC: tegra: Tegra264 support in isomgr_bw 2025-05-22 11:02:12 +01:00
ti ASoC: ti: omap-hdmi: Re-add dai_link->platform to fix card init 2025-06-02 12:27:43 +01:00
uniphier ASoC: uniphier: use devm_kmemdup_array() 2025-02-28 14:01:01 +00:00
ux500 ASoC: ux500: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-03-03 12:58:53 +00:00
xilinx ASoC: xilinx: xlnx_spdif: Simpify using devm_clk_get_enabled() 2025-01-16 15:20:41 +00:00
xtensa ASoC: xtensa: Convert to RUNTIME_PM_OPS() 2025-03-17 10:15:03 +00:00
Kconfig ASoC: Add SoC USB APIs for adding an USB backend 2025-04-11 13:02:31 +02:00
Makefile ASoC: Add SoC USB APIs for adding an USB backend 2025-04-11 13:02:31 +02:00
soc-ac97.c ASoC: soc-ac97: use new GPIO line value setter callbacks 2025-04-13 20:23:14 +01:00
soc-acpi.c ASoC/soundwire: remove sdw_slave_extended_id 2024-10-17 18:42:10 +01:00
soc-card-test.c
soc-card.c ASoC: add common snd_soc_ret() and use it 2025-02-06 17:26:18 +00:00
soc-component.c ASoC: add common snd_soc_ret() and use it 2025-02-06 17:26:18 +00:00
soc-compress.c ASoC: remove dpcm_process_paths() 2025-02-16 23:51:06 +00:00
soc-core.c ASoC: soc-core: merge snd_soc_unregister_component() and snd_soc_unregister_component_by_driver() 2025-05-12 21:09:44 +09:00
soc-dai.c ASoC: soc-dai: add snd_soc_dai_mute_is_ctrled_at_trigger() 2025-03-06 15:38:44 +00:00
soc-dapm.c ASoC: dapm: Add component level pin switches 2025-05-20 11:15:38 +01:00
soc-devres.c ASoC: core: Complete support for card rebinding 2025-04-06 23:25:11 +01:00
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c ASoC: add common snd_soc_ret() and use it 2025-02-06 17:26:18 +00:00
soc-ops-test.c ASoC: ops-test: Add some basic kunit tests for soc-ops 2025-03-19 12:47:57 +00:00
soc-ops.c ASoC: ops: Apply platform_max after deciding control type 2025-03-19 17:56:36 +00:00
soc-pcm.c ASoC: pcm: Do not open FEs with no BEs connected 2025-06-02 12:27:42 +01:00
soc-topology-test.c ASoC: soc-topology: remove dpcm_xxx flags 2024-10-23 13:02:02 +01:00
soc-topology.c ASoC: ops: Remove snd_soc_put_volsw_range() 2025-03-19 12:48:05 +00:00
soc-usb.c ASoC: usb: Rediscover USB SND devices on USB port add 2025-04-11 13:02:31 +02:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: Check string pointer validity in snd_soc_dlc_is_dummy() 2025-05-16 13:18:15 +02:00