summaryrefslogtreecommitdiffstats
path: root/include/linux/spi/spi.h
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-09-12 19:39:18 -0500
committerMark Brown <broonie@kernel.org>2018-09-17 14:14:18 -0700
commitcbaa62e0094a840fecc853910e0c0454529cec03 (patch)
tree20c73652bd2be26568a889b055befcbde7b1b7eb /include/linux/spi/spi.h
parent0baf9eb25572eea0cf48249c1d152d8373956a7c (diff)
downloadlinux-cbaa62e0094a840fecc853910e0c0454529cec03.tar.gz
linux-cbaa62e0094a840fecc853910e0c0454529cec03.tar.bz2
linux-cbaa62e0094a840fecc853910e0c0454529cec03.zip
spi: add software implementation for SPI_CS_WORD
This adds a default software implementation for the SPI_CS_WORD flag for controllers that don't have such a feature. The SPI_CS_WORD flag indicates that the CS line should be toggled between each word sent, not just between each transfer. The implementation works by using existing functions to split transfers into one-word-sized transfers and sets the cs_change bit for each of the new transfers. Signed-off-by: David Lechner <david@lechnology.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi/spi.h')
0 files changed, 0 insertions, 0 deletions