lkml.org 
[lkml]   [2021]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 03/10] spi: Add flag for no TX after a RX in the same Chip Select
From
Date
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.

\
 
 \ /
  Last update: 2021-09-09 12:53    [W:0.065 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site