diff options
| author | 2026-09-02 22:48:09 +0800 | |
|---|---|---|
| committer | 2026-09-18 20:06:19 +0200 | |
| commit | 648e3c436032b675b339662ea9c0edd9221add76 (patch) | |
| tree | 1394d7a226764a7bee0d0c0bbda717ce2c64ae9c /scripts/Makefile.thinlto | |
| parent | spi: spi-qpic-snand: fix the stale ECC context pointer (diff) | |
spi: mxic: fix ps_clk leak in runtime resume
mxic_spi_runtime_resume() enables ps_clk before calling
mxic_spi_clk_enable(). If the latter fails, ps_clk was not
disabled.
Unwind ps_clk with clk_disable_unprepare() before returning
the error.
Fixes: b942d80b0a39 ("spi: Add MXIC controller driver")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Link: https://patch.msgid.link/20260902-mxic-v1-1-76806325826d@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
