[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210824164949.GJ4393@sirena.org.uk>
Date: Tue, 24 Aug 2021 17:49:49 +0100
From: Mark Brown <broonie@...nel.org>
To: Lucas Tanure <tanureal@...nsource.cirrus.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Sanjay R Mehta <sanju.mehta@....com>,
Nehal Bakulchandra Shah <Nehal-Bakulchandra.shah@....com>,
linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
patches@...nsource.cirrus.com
Subject: Re: [PATCH 7/9] spi: amd: Check for idle bus before execute opcode
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.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists