diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-10-04 17:35:34 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 18:38:35 +0530 |
commit | 523c37e7006522e778a1fd0aea2746ceb788572f (patch) | |
tree | cc2146d573961b5cb62615c136042a88984c842a /samples | |
parent | 903ca25b219e28e3513ca4c2ff379fcdf19e057e (diff) | |
download | blackbird-op-linux-523c37e7006522e778a1fd0aea2746ceb788572f.tar.gz blackbird-op-linux-523c37e7006522e778a1fd0aea2746ceb788572f.zip |
spi: davinci: fix EDMA CC errors at end of transfers
Use a dummy param slot linked to itself to take care of the
extra "sync event" that gets sent to EDMA controller after
the last byte has been transferred.
The dummy PaRAM slot that is linked to the actual DMA PaRAM
slot "absorbs" this event and prevents a EDMA CC error to
be asserted.
Without this provision, the EDMA CC error would be asserted
because the channel PaRAM would be empty after the transfer
and EDMA would not know what to make out of the extra sync
event.
Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Tested-By: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions