]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: geni-qcom: Add target abort support
authorPraveen Talari <praveen.talari@oss.qualcomm.com>
Wed, 4 Feb 2026 16:28:54 +0000 (21:58 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 17:37:36 +0000 (17:37 +0000)
commit6516169fa7f6110ce42a5958c921255f2d0968bc
treee129686bdb3061daf4d04502a4ef354e747f688c
parent9934383f98c91d8dfdf16d0e980431041c2d17ee
spi: geni-qcom: Add target abort support

SPI target mode currently lacks a mechanism to gracefully abort ongoing
transfers when the client or core needs to cancel active transactions.

Implement spi_geni_target_abort() to handle aborting SPI target
operations when the client and core want to cancel ongoing transfers.
This provides a mechanism for graceful termination of active SPI
transactions in target mode.

Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260204162854.1206323-5-praveen.talari@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-geni-qcom.c