Re: [PATCH] spi: axi-spi-engine: don't emit XFER_BITS for empty xfer

From: Nuno Sá
Date: Wed Jul 24 2024 - 03:46:14 EST


On Tue, 2024-07-23 at 13:36 -0500, David Lechner wrote:
> This adds a check on xfer->len to avoid emitting an XFER_BITS
> instruction for empty transfers in the AXI SPI Engine driver. This
> avoids unnecessary delays caused by executing an instruction that has
> no effect on the actual SPI transfer.
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
> ---

Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>