serial: sh-sci: Do not terminate DMA engine when race condition occurs
authorMuhammad Hamza Farooq <mfarooq@visteon.com>
Fri, 18 Sep 2015 11:08:31 +0000 (13:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:36:10 +0000 (17:36 +0100)
commit3b963042b64f5de3c63a1ebcbe2cad6b1597b8b9
treed4c46ca508d6382e87af00246de0fa762d9aeec0
parent1d3db608f933605d2dce44a0262ea94da3407465
serial: sh-sci: Do not terminate DMA engine when race condition occurs

When DMA packet completion and timer expiry take place at the same time,
do not terminate the DMA engine, leading by submission of new
descriptors, as the DMA communication hasn't necessarily stopped here.

Signed-off-by: Muhammad Hamza Farooq <mfarooq@visteon.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c