Merge branch 'spi-5.5' into spi-linus

This commit is contained in:
Mark Brown
2020-01-23 12:37:15 +00:00
4 changed files with 33 additions and 20 deletions

View File

@@ -297,6 +297,9 @@ static int dw_spi_transfer_one(struct spi_controller *master,
dws->len = transfer->len;
spin_unlock_irqrestore(&dws->buf_lock, flags);
/* Ensure dw->rx and dw->rx_end are visible */
smp_mb();
spi_enable_chip(dws, 0);
/* Handle per transfer options for bpw and speed */