Re: [PATCH v2 2/2] spi/spi-bcm2835: Add bcm2835_spi_transfer_one_message in spi-bcm2835.c

2018-02-25 Thread Lukas Wunner
On Sat, Feb 24, 2018 at 06:17:12PM +, Meghana Madhyastha wrote: > --- a/drivers/spi/spi.c > +++ b/drivers/spi/spi.c > @@ -1003,7 +1003,7 @@ static int spi_map_msg(struct spi_controller *ctlr, > struct spi_message *msg) > * drivers which implement a transfer_one() operation. It provides >

[PATCH v2 2/2] spi/spi-bcm2835: Add bcm2835_spi_transfer_one_message in spi-bcm2835.c

2018-02-25 Thread Meghana Madhyastha
Add bcm2835_spi_transfer_one_message in spi-bcm2835.c. This function calls the helper spi_split_transfers_maxsize before calling spi_transfer_one_message to split the message into smaller chunks to be able to use dma. Signed-off-by: Meghana Madhyastha ---