aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnurag Dutta <a-dutta@ti.com>2025-12-12 12:53:12 +0530
committerMark Brown <broonie@kernel.org>2025-12-17 12:01:10 +0000
commit1889dd2081975ce1f6275b06cdebaa8d154847a9 (patch)
tree151ed06f77396b0b81eceeabcfe57b43f91b78b4 /tools/perf/scripts/python
parentspi: cadence-quadspi: Add error logging for DMA request failure (diff)
downloadlinux-1889dd2081975ce1f6275b06cdebaa8d154847a9.tar.gz
linux-1889dd2081975ce1f6275b06cdebaa8d154847a9.zip
spi: cadence-quadspi: Fix clock disable on probe failure path
When cqspi_request_mmap_dma() returns -EPROBE_DEFER after runtime PM is enabled, the error path calls clk_disable_unprepare() on an already disabled clock, causing an imbalance. Use pm_runtime_get_sync() to increment the usage counter and resume the device. This prevents runtime_suspend() from being invoked and causing a double clock disable. Fixes: 140623410536 ("mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller") Signed-off-by: Anurag Dutta <a-dutta@ti.com> Tested-by: Nishanth Menon <nm@ti.com> Link: https://patch.msgid.link/20251212072312.2711806-3-a-dutta@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions