summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2026-11-10 01:41:58 +0100
committerMark Brown <broonie@kernel.org>2026-11-17 14:54:58 +0000
commitbb5caf7a2e0b2dae8e8905d32fc376703eabcfc4 (patch)
tree0833324d5e0c562a957deb677466cbe5f473f6ab /tools/perf/scripts
parentaebb7274476403040d582c61478df8f4a7bf9cd3 (diff)
spi: Fix runtime PM imbalance on pump transfer message error
The current SPI message pumping code may drop the runtime PM twice when an SPI message cannot be sent: spi_master spi2: noqueue transfer failed rockchip-spi feb20000.spi: Runtime PM usage count underflow! Fix the problem by always keeping the runtime PM count increased when exiting __spi_pump_transfer_message(), as the caller handles decreasing it. Note, that the function already keeps the RPM usage counter increased for the error paths following after the prepare_transfer_hardware step. Cc: stable@vger.kernel.org Fixes: bef4a48f4ef7 ("spi: Fix null dereference on suspend") Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Tested-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://patch.msgid.link/20261110-spi-runtime-pm-fix-v1-1-8601ebb2f6a8@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions