diff options
| author | Can Peng <pengcan@kylinos.cn> | 2026-08-04 15:19:04 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-04 21:04:13 +0100 |
| commit | d2f5a606710ad70c341dc609430a20a5645618d5 (patch) | |
| tree | ebe1f35ed4b026ce56d541a40651a241425226bb /tools/perf/scripts/python/flamegraph.py | |
| parent | 2b62c2c134fa32d9d3a9e7323c8ac74518eeb4ac (diff) | |
spi: bcmbca-hsspi: disable clocks on resume failure
bcmbca_hsspi_resume() enables the HSSPI clock, and optionally the PLL
clock, before restarting the SPI controller queue.
If spi_controller_resume() fails, the function currently reports success
and leaves those clocks enabled. Propagate the error and disable the
clocks before returning.
Fixes: a38a2233f23b ("spi: bcmbca-hsspi: Add driver for newer HSSPI controller")
Cc: stable@vger.kernel.org
Signed-off-by: Can Peng <pengcan@kylinos.cn>
Reviewed-by: Kursad Oney <kursad.oney@broadcom.com>
Link: https://patch.msgid.link/20260804071904.860842-1-pengcan@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
