]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: airoha: remove unnecessary switch to non-dma mode
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sun, 12 Oct 2025 12:16:55 +0000 (15:16 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 17 Oct 2025 12:30:46 +0000 (13:30 +0100)
commit7350f8dc15bfbb7abf1ce4babea6fcace1c574c5
tree90b4673faf6f680731212669c2a3a204bedde2ba
parent661856ca131c8bf6724905966e02149805660abe
spi: airoha: remove unnecessary switch to non-dma mode

The code switches to dma at the start of dirmap operation and returns
to non-dma at the end of dirmap operation, so an additional switch to
non-dma at the start of dirmap write is not required.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251012121707.2296160-5-mikhail.kshevetskiy@iopsys.eu
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-airoha-snfi.c