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 00:07:06 +0800
committerMark Brown <broonie@kernel.org>2026-03-30 13:46:29 +0100
commit5a570c8d6e55689253f6fcc4a198c56cca7e39d6 (patch)
tree70210c8c3d970056dd16becbde0115b08233a0c7 /include/asm-cris/git@git.tavy.me:linux.git
parent73cd1f97946ae3796544448ff12c07f399bb2881 (diff)
spi: stm32-ospi: Fix reset control leak on probe error
When spi_register_controller() fails after reset_control_acquire() succeeds, the reset control is never released. This causes a resource leak in the error path. Add the missing reset_control_release() call in the error path. Fixes: cf2c3eceb757 ("spi: stm32-ospi: Make usage of reset_control_acquire/release() API") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Link: https://patch.msgid.link/20260329-stm32-ospi-v1-1-142122466412@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