diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/nvidia/tegra210/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c index 0f38df2e6a..e6f667ac71 100644 --- a/src/soc/nvidia/tegra210/spi.c +++ b/src/soc/nvidia/tegra210/spi.c @@ -331,7 +331,7 @@ static void flush_fifos(struct tegra_spi_channel *spi) uint32_t fifo_status = read32(&spi->regs->fifo_status); fifo_status |= flush_mask; - write32(&spi->regs->fifo_status, flush_mask); + write32(&spi->regs->fifo_status, fifo_status); while (read32(&spi->regs->fifo_status) & flush_mask) ; |