aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Niebuhr <[email protected]>2010-03-09 22:48:03 +0000
committerKevin Hilman <[email protected]>2010-04-05 22:25:11 +0000
commitbb17ef102b72e38557bfa829511e06c4bd3bb972 (patch)
treee35ff2208685fdd619afbb4eba8b9e5fe1a34885 /tools/perf/scripts/python
parentdavinci: da8xx/omap-l1: fix build error when CONFIG_DAVINCI_MUX is undefined (diff)
downloadkernel-bb17ef102b72e38557bfa829511e06c4bd3bb972.tar.gz
kernel-bb17ef102b72e38557bfa829511e06c4bd3bb972.zip
davinci: edma: clear events in edma_start()
This patch fixes an issue where a DMA channel can erroneously process an event generated by a previous transfer. A failure case is where DMA is being used for SPI transmit and receive channels on OMAP L138. In this case there is a single bit that controls all event generation from the SPI peripheral. Therefore it is possible that between when edma_stop() has been called for the transmit channel on a previous transfer and edma_start() is called for the transmit channel on a subsequent transfer, that a transmit event has been generated. The fix is to clear events in edma_start(). This prevents false events from being processed when events are enabled for that channel. Signed-off-by: Brian Niebuhr <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions