linux/drivers/memory
Johan Hovold 9dae65913b memory: mtk-smi: fix device leak on larb probe
Make sure to drop the reference taken when looking up the SMI device
during larb probe on late probe failure (e.g. probe deferral) and on
driver unbind.

Fixes: cc8bbe1a83 ("memory: mediatek: Add SMI driver")
Fixes: 038ae37c51 ("memory: mtk-smi: add missing put_device() call in mtk_smi_device_link_common")
Cc: stable@vger.kernel.org	# 4.6: 038ae37c51
Cc: stable@vger.kernel.org	# 4.6
Cc: Yong Wu <yong.wu@mediatek.com>
Cc: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251121164624.13685-3-johan@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2025-12-16 08:20:52 +01:00
..
samsung memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe 2025-08-13 09:46:29 +02:00
tegra soc: driver updates for 6.19 2025-12-05 17:29:04 -08:00
.gitignore
atmel-ebi.c memory: atmel-ebi: simplify with scoped for each OF child loop 2024-08-21 13:23:32 +02:00
brcmstb_dpfe.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
brcmstb_memc.c memory: brcmstb_memc: Simplify compatible matching 2025-06-27 07:47:49 +02:00
bt1-l2-ctl.c memory: bt1-l2-ctl: replace scnprintf() with sysfs_emit() 2025-05-07 07:44:13 +02:00
da8xx-ddrctl.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
dfl-emif.c memory: dfl-emif: Update the dfl emif driver support revision 1 2022-08-16 12:12:04 +03:00
emif-asm-offsets.c
emif.c memory: emif: Add missing kerneldoc for lpmode 2025-06-10 09:54:45 +02:00
emif.h
fsl_ifc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
fsl-corenet-cf.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
jedec_ddr_data.c
jedec_ddr.h
jz4780-nemc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
Kconfig memory: Add STM32 Octo Memory Manager driver 2025-05-07 11:27:01 +02:00
Makefile memory: Add STM32 Octo Memory Manager driver 2025-05-07 11:27:01 +02:00
mtk-smi.c memory: mtk-smi: fix device leak on larb probe 2025-12-16 08:20:52 +01:00
mvebu-devbus.c memory: remove MODULE_LICENSE in non-modules 2023-03-09 15:20:50 +01:00
of_memory.c memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() 2022-08-16 12:12:06 +03:00
of_memory.h
omap-gpmc.c memory: omap-gpmx: Use dev_fwnode() 2025-06-12 13:38:34 +02:00
pl172.c memory: pl172: simplify releasing AMBA regions with devm 2024-08-31 07:44:23 +02:00
pl353-smc.c memory: pl353-smc: simplify with scoped for each OF child loop 2024-08-31 07:44:24 +02:00
renesas-rpc-if-regs.h memory: renesas-rpc-if: Move rpc-if reg definitions 2025-05-01 12:21:52 +02:00
renesas-rpc-if.c memory: renesas-rpc-if: Add suspend/resume support 2025-10-23 15:28:15 +02:00
renesas-xspi-if-regs.h memory: renesas-rpc-if: Add RZ/G3E xSPI support 2025-05-01 12:22:25 +02:00
stm32_omm.c memory: stm32_omm: Fix req2ack update test 2025-08-11 14:53:13 +02:00
stm32-fmc2-ebi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ti-aemif.c memory: ti-aemif: Export aemif_*_cs_timings() 2024-12-09 20:38:27 +01:00
ti-emif-pm.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ti-emif-sram-pm.S ARM: mm: Make virt_to_pfn() a static inline 2023-05-29 11:27:08 +02:00