diff options
| author | Chanho Min <[email protected]> | 2012-02-20 10:24:40 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-02-24 13:50:47 -0800 |
| commit | 6dc01aa65306fe46b7ba38db51fad4ed81c23d00 (patch) | |
| tree | cad255d51a09c900062d9dbd2db07432dc4b5b19 /tools/perf/scripts/python/bin | |
| parent | b26469a8b139fba11d9336c1c117fafccfa9c7d5 (diff) | |
amba-pl011/dma: Add check for the residue in DMA callback
In DMA-operated uart, I found that rx data can be taken by the UART
interrupts during the DMA irq handler. pl011_int is occurred just
before it goes inside spin_lock_irq. When it returns to the callback,
DMA buffer already has been flushed. Then, pl011_dma_rx_chars gets
invalid data. So I add check for the residue as the patch bellow.
Signed-off-by: Chanho Min <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions