Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: stm32: Fix error handling in stm32_spi_probe()
clk_get_rate() is below clk_prepare_enable(), so its error should lead to goto err_clk_disable, not to err_master_put. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <[email protected]> Reviewed-by: Amelie Delaunay <[email protected]> Signed-off-by: Mark Brown <[email protected]>
- Loading branch information