Skip to content
Commit 5db542ed authored by Illia Smyrnov's avatar Illia Smyrnov Committed by Mark Brown
Browse files

spi: omap2-mcspi: Fix FIFO support for transmit-and-receive mode



This patch fixes MCSPI FIFO buffer support when transmit-and-receive
(full duplex) mode is used. In this mode FIFO can be used for RX or
for TX or for both directions. If FIFO used for both directions the buffer
is split into two 32-byte buffers - one for each direction.
Also for full duplex mode both AEL and AFL need to be set in CHCONF0 register.

Signed-off-by: default avatarIllia Smyrnov <illia.smyrnov@globallogic.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent d0e639c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment