Skip to content
Snippets Groups Projects
Commit df49077b authored by Eugen Hristev's avatar Eugen Hristev Committed by Ludovic Desroches
Browse files

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: default avatarEugen Hristev <eugen.hristev@microchip.com>
parent 7276d0d9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment