twx-linux/drivers/memory
Dan Carpenter d44eeb20d9 memory: stm32_omm: Fix error handling in stm32_omm_configure()
There are two error handling bugs in the stm32_omm_configure() function.
1) The error code needs to be set if clk_get_rate() fails.
2) If devm_reset_control_get_exclusive() then call
   pm_runtime_put_sync_suspend() before returning.

Fixes: 8181d061dcff ("memory: Add STM32 Octo Memory Manager driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/a69ce0445324e994ea2ed7493bda1f6046c7ff69.1746781081.git.dan.carpenter@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2025-05-12 08:32:13 +02:00
..
samsung Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
tegra memory: tegra: Do not enable by default during compile testing 2025-04-15 07:43:54 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
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 Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08: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 memory: emif-asm-offsets: Add GPLv2 SPDX license header 2020-07-24 16:18:32 +02:00
emif.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
emif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
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 memory: Add LPDDR2-info helpers 2021-10-15 09:52:47 +02:00
jedec_ddr.h memory: Add LPDDR2-info helpers 2021-10-15 09:52:47 +02:00
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: Add support for Dimensity 1200 MT6893 SMI 2025-04-15 07:44:34 +02: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 memory: Add LPDDR2-info helpers 2021-10-15 09:52:47 +02:00
omap-gpmc.c memory: omap-gpmc: remove GPIO set() and direction_output() callbacks 2025-04-15 07:43:35 +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.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
stm32_omm.c memory: stm32_omm: Fix error handling in stm32_omm_configure() 2025-05-12 08:32: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