summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-stm32-ospi.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-05-06 19:42:00 +0200
committerIngo Molnar <mingo@kernel.org>2025-05-06 19:42:00 +0200
commit570d58b12fbf7bae0ba72d929ccf914a4df5ca7c (patch)
treedfed4e4970ba5a5a4c4c726b4d55d9f4394683c3 /drivers/spi/spi-stm32-ospi.c
parent502ad6e5a6196840976c4c84b2ea2f9769942fbe (diff)
parent92a09c47464d040866cf2b4cd052bc60555185fb (diff)
Merge tag 'v6.15-rc5' into x86/msr, to pick up fixes and to resolve conflicts
Conflicts: drivers/cpufreq/intel_pstate.c Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/spi/spi-stm32-ospi.c')
-rw-r--r--drivers/spi/spi-stm32-ospi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/spi/spi-stm32-ospi.c b/drivers/spi/spi-stm32-ospi.c
index 668022098b1e..9ec9823409cc 100644
--- a/drivers/spi/spi-stm32-ospi.c
+++ b/drivers/spi/spi-stm32-ospi.c
@@ -960,6 +960,10 @@ err_pm_resume:
err_pm_enable:
pm_runtime_force_suspend(ospi->dev);
mutex_destroy(&ospi->lock);
+ if (ospi->dma_chtx)
+ dma_release_channel(ospi->dma_chtx);
+ if (ospi->dma_chrx)
+ dma_release_channel(ospi->dma_chrx);
return ret;
}