OSDN Git Service

spi: spi-fsl-qspi: change i.MX7D RX FIFO size
authorHan Xu <han.xu@nxp.com>
Wed, 10 Jul 2019 02:31:27 +0000 (10:31 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jul 2019 15:31:35 +0000 (16:31 +0100)
The RX FIFO should be 128 byte rather than 512 byte. It's a typo on
reference manual.

Signed-off-by: Han Xu <han.xu@nxp.com>
Link: https://lore.kernel.org/r/20190710023128.13115-3-han.xu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-qspi.c

index 41a49b9..448c00e 100644 (file)
@@ -206,7 +206,7 @@ static const struct fsl_qspi_devtype_data imx6sx_data = {
 };
 
 static const struct fsl_qspi_devtype_data imx7d_data = {
-       .rxfifo = SZ_512,
+       .rxfifo = SZ_128,
        .txfifo = SZ_512,
        .ahb_buf_size = SZ_1K,
        .quirks = QUADSPI_QUIRK_TKT253890 | QUADSPI_QUIRK_4X_INT_CLK,