commit | 8225c1c9a073c323f68833d136fcf94fbc75a275 | [log] [tgz] |
---|---|---|
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | Sun Sep 20 14:28:47 2020 +0300 |
committer | Mark Brown <broonie@kernel.org> | Tue Sep 29 17:22:21 2020 +0100 |
tree | 60cdbc1227042f677410132bfada4bec137ca17e | |
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>