diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-08-08 01:41:43 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-12 19:51:21 +0100 |
| commit | 923e41ed59511cffe98357c7d58d0294a1c157ee (patch) | |
| tree | 3198d4eec80963aa1cd9163146b65df76236ff3f /tools/perf/scripts/python | |
| parent | 560fbcf4720b6d671597f271911fb6b60787738e (diff) | |
spi: img-spfi: don't disable runtime PM on DMA deferred probe
When dma_request_chan() returns -EPROBE_DEFER, the error path jumps to
disable_pm and calls pm_runtime_disable() even though pm_runtime_enable()
was never called, leaving disable_depth unbalanced and the device
permanently PM-disabled.
Route the defer path through free_dma to skip pm_runtime_disable().
Fixes: 6bfbf4d0aa0c ("spi: img-spfi: Use dma_request_chan() instead dma_request_slave_channel()")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Link: https://patch.msgid.link/20260808-spfi-v1-1-6bc4345be430@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
