aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_sh_sci.c
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-10-01 04:30:48 -0400
committerSekhar Nori <nsekhar@ti.com>2010-11-18 08:08:34 -0500
commita4f4497b86a689aa8c827d4ebe0d00c4eba66f76 (patch)
tree63fe8cdaf22c83b6f1d8214e784f0c385b80493e /drivers/spi/spi_sh_sci.c
parent49fc3f497d7d409e9b0dc384fe7c173bccd3b1a1 (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 'drivers/spi/spi_sh_sci.c')
0 files changed, 0 insertions, 0 deletions