summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-sh-hspi.c
diff options
context:
space:
mode:
authorIllia Smyrnov <illia.smyrnov@globallogic.com>2013-10-09 16:05:08 +0400
committerMark Brown <broonie@linaro.org>2013-10-09 22:00:58 +0400
commit5db542ed85b5e88346675f672dbd2eefa52005f4 (patch)
tree168fb3a17f261cf4822e7f651a29a886d362cc6f /drivers/spi/spi-sh-hspi.c
parentd0e639c9e06d44e713170031fe05fb60ebe680af (diff)
downloadlinux-5db542ed85b5e88346675f672dbd2eefa52005f4.tar.xz
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: Illia Smyrnov <illia.smyrnov@globallogic.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-sh-hspi.c')
0 files changed, 0 insertions, 0 deletions