Re: [PATCH 7/9] spi: amd: Check for idle bus before execute opcode

From: Mark Brown
Date: Tue Aug 24 2021 - 12:50:21 EST


On Tue, Aug 24, 2021 at 11:40:39AM +0100, Lucas Tanure wrote:
> Check if the bus is not in use before starting the transfer
> Also wait after so the READ bytes in the FIFO are ready to
> be copied

This means that we will wait for read to be ready even for write only
operations, as opposed to potentially just absorbing the delay while the
CPU does other stuff. If we need to wait prior to reading we should do
that in the relevant code.

Attachment: signature.asc
Description: PGP signature