diff options
author | Mark Brown <broonie@kernel.org> | 2020-01-23 12:37:15 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-23 12:37:15 +0000 |
commit | 7265e8fc51081f08728cc7528fd4640a81ec6768 (patch) | |
tree | 6e66c242e65229b1eb74fd2dc139a614579c05cc /drivers/spi/spi-dw.c | |
parent | def9d2780727cec3313ed3522d0123158d87224d (diff) | |
parent | 29d7e05c5f75fc2ebf3608743b6809aa0ff56800 (diff) | |
download | linux-7265e8fc51081f08728cc7528fd4640a81ec6768.tar.bz2 |
Merge branch 'spi-5.5' into spi-linus
Diffstat (limited to 'drivers/spi/spi-dw.c')
-rw-r--r-- | drivers/spi/spi-dw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/spi/spi-dw.c b/drivers/spi/spi-dw.c index 5a25da377119..25e897e3af22 100644 --- a/drivers/spi/spi-dw.c +++ b/drivers/spi/spi-dw.c @@ -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 */ |