Re: [PATCH v2] spi: bcm63xx: fix premature CS deassertion on RX-only transactions
From: Mark Brown
Date: Sun Nov 16 2025 - 16:45:16 EST
On Mon, Nov 17, 2025 at 01:08:35AM +1100, Hang Zhou wrote:
> Fix this by writing 0xff dummy bytes into the TX FIFO for RX-only
> segments so that the number of bytes written to the FIFO matches the
> total message length seen by the controller.
Why 0xff? The core's _MUST_TX handling writes 0x00 which feels a bit
more natural. Given that this is PIO rather than DMA the memset_toio()
is going to be better than using the core (which is more for DMA).
Attachment:
signature.asc
Description: PGP signature