summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPraveen Talari <praveen.talari@oss.qualcomm.com>2026-06-25 21:26:02 +0530
committerMark Brown <broonie@kernel.org>2026-06-25 17:43:06 +0100
commitc1bab046d4786c5b17aab7c5225bf0d4a2a2d19b (patch)
tree088bcfb43d6b8e0b170447f348241128647cc9e3 /scripts/Makefile.thinlto
parent6dbaa4d288432c697cea47028480481b8b29bd6a (diff)
downloadlinux-c1bab046d4786c5b17aab7c5225bf0d4a2a2d19b.tar.gz
linux-c1bab046d4786c5b17aab7c5225bf0d4a2a2d19b.zip
spi: core: Abort active target transfer on controller suspend
When an SPI controller operating in target mode has a transfer in progress at the time of system suspend, the suspend path proceeds without aborting the ongoing transfer. This can leave the hardware in an inconsistent state, potentially causing the system to hang or fail to resume cleanly. Fix this by invoking the controller's target_abort callback from spi_controller_suspend() when the controller is in target mode and the callback is registered. This ensures any active target transfer is cleanly terminated before the controller is suspended. Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com> Link: https://patch.msgid.link/20260625-abort_active_transfer_duirng_s2r-v2-1-1d6f724406b6@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions