Re: [PATCH 03/10] spi: Add flag for no TX after a RX in the same Chip Select

From: Lucas tanure
Date: Thu Sep 09 2021 - 06:51:29 EST


On 9/8/21 1:37 PM, Mark Brown wrote:
On Wed, Sep 08, 2021 at 12:34:44PM +0100, Lucas Tanure wrote:
Some controllers can't write to the bus after a read without
releasing the chip select, so add flag and a check in spi core

Nothing you've added ever reads this flag and I'm not sure what anything
would be able to constructively do with it so why add the flag? I don't
understand what the use case is.

__spi_validate checks this flag and makes sure the message can be received by the controller.
__spi_validate can't fix the message, so it only rejects the message.