spi: stm32-ospi: clean up on error in probe()
If reset_control_acquire() fails, then we can't return directly. We need to do a little clean up first. Fixes: cf2c3ece ("spi: stm32-ospi: Make usage of reset_control_acquire/release() API") Signed-off-by:Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/aEmAGTUzzKZlLe3K@stanley.mountain Signed-off-by:
Mark Brown <broonie@kernel.org>
Loading
Please register or sign in to comment