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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux