diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-10-01 14:00:48 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 18:38:34 +0530 |
commit | a4f4497b86a689aa8c827d4ebe0d00c4eba66f76 (patch) | |
tree | 63fe8cdaf22c83b6f1d8214e784f0c385b80493e /arch/tile | |
parent | 49fc3f497d7d409e9b0dc384fe7c173bccd3b1a1 (diff) |
spi: davinci: fix DMA event generation stoppage
Do not stop SPI DMA event generation in either transmit or
receive DMA event call back because the single setting affects
both transmit and receive event generation.
Depending on the order in which the callbacks happen, transmit
or receive events can get unintentionally stalled.
Instead, disable event generation once after both the transmit
and receive DMA completes.
While at it, remove the largely under-used function to set or
clear DMA event generation.
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 'arch/tile')
0 files changed, 0 insertions, 0 deletions