Messages in this thread | | | Date | Wed, 15 Nov 2017 15:39:40 +0000 | From | Mark Brown <> | Subject | Re: MCP251x SPI CAN controller on Cavium ThunderX |
| |
On Wed, Nov 15, 2017 at 01:07:54PM +0100, Jan Glauber wrote:
> To support this full duplex transfer the Cavium SPI controller needs > to know the receive lenght before setting up the transaction.
> spi_transfer only includes the total length, so I don't see how this > should work.
For a full duplex transfer the recieve length *is* the total length of the transfer. If there is a mix of tx, rx and full duplex then you need multiple xfers in the transfer. [unhandled content-type:application/pgp-signature] | |