]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: sh-msiof: Correct RX FIFO size for R-Car Gen3
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 16 May 2025 13:32:19 +0000 (15:32 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 19 May 2025 10:55:32 +0000 (11:55 +0100)
commitf669c2827dd691b10fcf4e4c5546869a51d0a46e
treee627da94f58321a7685c1bfb40b8f9160d6bbc71
parent1ab2c8c45f5c5df6707cc848686e674f4ec5c3d9
spi: sh-msiof: Correct RX FIFO size for R-Car Gen3

According to the R-Car Gen3 Hardware Manual Errata for Rev 0.55 of
September 28, 2017, the MSIOF receive FIFOs on R-Car Gen3 SoCs have room
for 256 words of 32 bits.

Note that this change has no actual impact on the behavior of the
driver, as SPI_CONTROLLER_MUST_TX is set, and transfer size is currenty
limited to the minimum of the transmit and receive FIFO sizes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/6f74508ea4681aa0b7c6bf6810eab026725e75a3.1747401908.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c