aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-01-26 01:10:16 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-02 10:09:55 -0800
commitbfc2e07f910891516c8eeef61859fa17369fea9f (patch)
treedff78a4eb45e351e013a09253e06debddfcb1a81 /tools/perf/scripts/python
parentserial: fsl-lpuart: disable interrupt when suspend (diff)
downloadlinux-bfc2e07f910891516c8eeef61859fa17369fea9f.tar.gz
linux-bfc2e07f910891516c8eeef61859fa17369fea9f.zip
tty: serial: fsl_lpuart: terminate DMA on buffer flush
On uart buffer flush, serial core resets the circular buffer. If a DMA transfer is in progress at that time, the callback lpuart_dma_tx_complete will move buffer's tail unconditionally, hence tail moves beyond head. Use the flush_buffer hook to terminate the DMA imeaditely and avoid lpuart_dma_tx_complete being called in this situation. This bug often showed up while shutdown and lead to duplicate serial console output. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions