diff options
| author | Alexey Khoroshilov <[email protected]> | 2018-03-30 22:54:44 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-04-17 11:46:23 +0100 |
| commit | 3dbb3eef91fdb246c7d366b960fe37b66af8ffa9 (patch) | |
| tree | fe8c9c746fa91adbe47fca0d6d9b9d26af6c07bc /tools/perf/scripts/python | |
| parent | 10b4640833e95eeacaef8060bc1b35e636df3218 (diff) | |
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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions