diff options
author | Yang Yingliang <[email protected]> | 2023-11-29 16:11:47 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-12-04 12:38:39 +0000 |
commit | 5cb475174cce1bfedf1025b6e235e2c43d81144f (patch) | |
tree | fdbba39216ce863ff95558d857c2f1d0a4f5682f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06891af2709b5dfa4081ff1f07b9f4c2743834b7 (diff) |
spi: cadence-quadspi: add missing clk_disable_unprepare() in cqspi_probe()
cqspi_jh7110_clk_init() is called after clk_prepare_enable(cqspi->clk),
if it fails, it should goto label 'probe_reset_failed' to disable
cqspi->clk.
In the error path after calling cqspi_jh7110_clk_init(),
cqspi_jh7110_disable_clk() need be called.
Fixes: 33f1ef6d4eb6 ("spi: cadence-quadspi: Add clock configuration for StarFive JH7110 QSPI")
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions