sst-linux/drivers/memory
Gaosheng Cui 7003e0ea14 memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()
[ Upstream commit cb8fd6f75775165390ededea8799b60d93d9fe3e ]

The clk_disable_unprepare() should be called in the error handling
of devbus_get_timing_params() and of_platform_populate(), fix it by
replacing devm_clk_get and clk_prepare_enable by devm_clk_get_enabled.

Fixes: e81b6abebc ("memory: add a driver for atmel ram controllers")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20221126044911.7226-1-cuigaosheng1@huawei.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:34:02 +01:00
..
samsung
tegra memory: tegra: Remove clients SID override programming 2023-02-01 08:34:02 +01:00
.gitignore
atmel-ebi.c
atmel-sdramc.c memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe() 2023-02-01 08:34:02 +01:00
brcmstb_dpfe.c
brcmstb_memc.c memory: brcmstb_memc: Add Broadcom STB memory controller driver 2022-08-18 09:11:45 +03:00
bt1-l2-ctl.c
da8xx-ddrctl.c
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
emif.h
fsl_ifc.c
fsl-corenet-cf.c
jedec_ddr_data.c
jedec_ddr.h
jz4780-nemc.c
Kconfig memory: brcmstb_memc: Add Broadcom STB memory controller driver 2022-08-18 09:11:45 +03:00
Makefile memory: brcmstb_memc: Add Broadcom STB memory controller driver 2022-08-18 09:11:45 +03:00
mtk-smi.c memory: mtk-smi: mt8188: Add SMI Support 2022-08-30 20:54:05 +03:00
mvebu-devbus.c memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe() 2023-02-01 08:34:02 +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
pl172.c
pl353-smc.c memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() 2022-08-16 12:12:03 +03:00
renesas-rpc-if.c memory: renesas-rpc-if: Clear HS bit during hardware initialization 2022-12-31 13:31:48 +01:00
stm32-fmc2-ebi.c
ti-aemif.c
ti-emif-pm.c
ti-emif-sram-pm.S