spi: add flags parameter to txrx_word function pointers
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sat, 28 Jul 2018 08:19:13 +0000 (10:19 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 1 Aug 2018 13:50:24 +0000 (14:50 +0100)
commit304d34360b099020a12af2abb7e1ac506f4ba16d
tree895183b4b3325dd53340300697a0484282d7bed6
parent5ba155a4d4cc8e4cdd3db6df7d03271a3bd91177
spi: add flags parameter to txrx_word function pointers

Add the capability to specify the flag parameter used in
bitbang_txrx_be_cpha{0,1} through the txrx_word function pointers of
spi_bitbang data structure. That feature will be used to add spi-3wire
support to the spi-gpio controller

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ath79.c
drivers/spi/spi-bitbang.c
drivers/spi/spi-butterfly.c
drivers/spi/spi-gpio.c
drivers/spi/spi-lm70llp.c
drivers/spi/spi-sh-sci.c
drivers/spi/spi-xtensa-xtfpga.c
include/linux/spi/spi_bitbang.h