diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-09-20 14:28:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-29 17:22:21 +0100 |
commit | 8225c1c9a073c323f68833d136fcf94fbc75a275 (patch) | |
tree | 60cdbc1227042f677410132bfada4bec137ca17e /drivers/spi/spi-dw.h | |
parent | 07918df724f2fed02327e3cbfe58a5d5568b2cc2 (diff) |
spi: dw: Initialize n_bytes before the memory barrier
Since n_bytes field of the DW SPI private data is also utilized by the
IRQ handler, we need to make sure it' initialization is done before the
memory barrier.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20200920112914.26501-4-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.h')
0 files changed, 0 insertions, 0 deletions