Loading
spi: stm32-ospi: Fix resource leak in remove() callback
The remove() callback returned early if pm_runtime_resume_and_get() failed, skipping the cleanup of spi controller and other resources. Remove the early return so cleanup completes regardless of PM resume result. Fixes: 79b8a705 ("spi: stm32: Add OSPI driver") Signed-off-by:Felix Gu <ustc.gu@gmail.com> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com> Link: https://patch.msgid.link/20260329-ospi-v1-1-cc8cf1c82c4a@gmail.com Signed-off-by:
Mark Brown <broonie@kernel.org>