summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-10-04 17:35:34 +0530
committerSekhar Nori <nsekhar@ti.com>2010-11-18 18:38:35 +0530
commit523c37e7006522e778a1fd0aea2746ceb788572f (patch)
treecc2146d573961b5cb62615c136042a88984c842a /crypto
parent903ca25b219e28e3513ca4c2ff379fcdf19e057e (diff)
downloadblackbird-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 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud