Commit 01a968b1 authored by Félix Piédallu's avatar Félix Piédallu Committed by Greg Kroah-Hartman
Browse files

spi: omap2-mcspi: Disable multi mode when CS should be kept asserted after message



[ Upstream commit a5bf5272 ]

When the last transfer of a SPI message has the cs_change flag, the CS is kept
asserted after the message.
Multi-mode can't respect this as CS is deasserted by the hardware at the end of
the message.

Disable multi-mode when not applicable to the current message.

Fixes: d153ff40 ("spi: omap2-mcspi: Add support for MULTI-mode")
Signed-off-by: default avatarFélix Piédallu <felix.piedallu@non.se.com>
Link: https://patch.msgid.link/20250606-cs_change_fix-v1-1-27191a98a2e5@non.se.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f74abf2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment