summaryrefslogtreecommitdiff
path: root/include/asm-cris/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-03-29 19:14:05 +0800
committerMark Brown <broonie@kernel.org>2026-03-30 13:22:18 +0100
commit73cd1f97946ae3796544448ff12c07f399bb2881 (patch)
tree41c17b7d40cc42cc339fbd4d5468205860fbd5c4 /include/asm-cris/git@git.tavy.me:linux.git
parent7aaa8047eafd0bd628065b15757d9b48c5f9c07d (diff)
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: 79b8a705e26c ("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>
Diffstat (limited to 'include/asm-cris/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions