diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-03-02 11:07:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-09 10:21:02 -0800 |
commit | 1866541492641c02874bf51f9d8712b5510f2c64 (patch) | |
tree | feb187466672f25f8fcf9213334eec096b2582f3 /mm/page_io.c | |
parent | 81ca8e8286c48df22eb798879d99aabac663b5f1 (diff) | |
download | blackbird-op-linux-1866541492641c02874bf51f9d8712b5510f2c64.tar.gz blackbird-op-linux-1866541492641c02874bf51f9d8712b5510f2c64.zip |
serial: imx: Fix handling of TC irq in combination with DMA
When using RS485 half duplex the Transmitter Complete irq is needed to
determine the moment when the transmitter can be disabled. When using
DMA this irq must only be enabled when DMA has completed to transfer all
data. Otherwise the CPU might busily trigger this irq which is not
properly handled and so the also pending irq for the DMA transfer cannot
trigger.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions