diff options
| author | Dan Carpenter <[email protected]> | 2025-05-09 11:04:31 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2025-05-12 06:32:13 +0000 |
| commit | d44eeb20d9bedce11297a09628ba5dd39db236be (patch) | |
| tree | 1f35cf7d6f45b068702b58100466ffc357cd3f7a /scripts/gcc-plugins/sancov_plugin.c | |
| parent | memory: stm32: Fix spelling mistake "resset" -> "reset" (diff) | |
| download | kernel-d44eeb20d9bedce11297a09628ba5dd39db236be.tar.gz kernel-d44eeb20d9bedce11297a09628ba5dd39db236be.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/a69ce0445324e994ea2ed7493bda1f6046c7ff69.1746781081.git.dan.carpenter@linaro.org
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
