diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2018-02-27 12:25:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-27 14:00:45 +0000 |
commit | 9581329eff9db72ab4fbb46a594fd7fdda3c51b0 (patch) | |
tree | aaba81e368d15814f9541364a96fa65792ba211b /lib/Kconfig.debug | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | linux-9581329eff9db72ab4fbb46a594fd7fdda3c51b0.tar.bz2 |
spi: atmel: init FIFOs before spi enable
The datasheet recommends initializing FIFOs before
SPI enable. If we do not do it like this, there may be
a strange behavior. We noticed that DMA does not work properly
with FIFOs if we do not clear them beforehand or enable them
before SPIEN.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions