twx-linux/drivers/soc
Tudor Ambarus d4f5f29c26 soc: qcom: ice: introduce devm_of_qcom_ice_get
[ Upstream commit 1c13d6060d612601a61423f2e8fbf9e48126acca ]

Callers of of_qcom_ice_get() leak the device reference taken by
of_find_device_by_node(). Introduce devm variant for of_qcom_ice_get().
Existing consumers need the ICE instance for the entire life of their
device, thus exporting qcom_ice_put() is not required.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20250117-qcom-ice-fix-dev-leak-v2-1-1ffa5b6884cb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Stable-dep-of: cbef7442fba5 ("mmc: sdhci-msm: fix dev reference leaked through of_qcom_ice_get")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-02 07:50:37 +02:00
..
actions
amlogic
apple
aspeed
atmel soc: atmel: fix device_node release in atmel_soc_device_init() 2025-02-08 09:52:10 +01:00
bcm
canaan
dove
fsl soc: fsl: cpm1: qmc: Set the ret error code on platform_get_irq() failure 2024-12-14 19:59:42 +01:00
fujitsu
gemini
hisilicon
imx soc: imx8m: Unregister cpufreq and soc dev in cleanup path 2025-03-28 21:59:52 +01:00
ixp4xx
lantiq
litex
loongson soc: loongson: loongson2_guts: Add check for devm_kstrdup() 2025-02-27 04:10:51 -08:00
mediatek soc: mediatek: mtk-devapc: Fix leaking IO map on driver remove 2025-02-27 04:10:46 -08:00
microchip
nuvoton
pxa
qcom soc: qcom: ice: introduce devm_of_qcom_ice_get 2025-05-02 07:50:37 +02:00
renesas
rockchip
samsung soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe() 2025-04-25 10:45:27 +02:00
sifive
starfive
sunxi
tegra soc/tegra: fuse: Update Tegra234 nvmem keepout list 2025-02-21 13:57:09 +01:00
ti soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-09 10:31:52 +01:00
ux500
versatile
xilinx
Kconfig
Makefile