Re: [PATCH] spi: add spi_sync_single_transfer wrapper for single spi_transfer

From: Lars-Peter Clausen
Date: Thu Jun 16 2016 - 12:10:58 EST


On 06/16/2016 01:40 AM, Andi Shyti wrote:
> The spi_sync_single_transfer function calls spi_sync_transfer
> with a single spi_transfer element, instead of an array.

So, what's the advantage of using this as opposed to calling
spi_sync_transfer with a 1 for the number of transfers?