diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-07-28 11:19:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-01 16:50:24 +0300 |
commit | 304d34360b099020a12af2abb7e1ac506f4ba16d (patch) | |
tree | 895183b4b3325dd53340300697a0484282d7bed6 /drivers/spi/spi-ath79.c | |
parent | 5ba155a4d4cc8e4cdd3db6df7d03271a3bd91177 (diff) | |
download | linux-304d34360b099020a12af2abb7e1ac506f4ba16d.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-ath79.c')
-rw-r--r-- | drivers/spi/spi-ath79.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c index 0719bd484891..3f6b657394de 100644 --- a/drivers/spi/spi-ath79.c +++ b/drivers/spi/spi-ath79.c @@ -176,7 +176,7 @@ static void ath79_spi_cleanup(struct spi_device *spi) } static u32 ath79_spi_txrx_mode0(struct spi_device *spi, unsigned int nsecs, - u32 word, u8 bits) + u32 word, u8 bits, unsigned flags) { struct ath79_spi *sp = ath79_spidev_to_sp(spi); u32 ioc = sp->ioc_base; |