serial: sh-sci: Redirect port interrupts to CPU _only_ when DMA stops
authorMuhammad Hamza Farooq <mfarooq@visteon.com>
Fri, 18 Sep 2015 11:08:29 +0000 (13:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:36:10 +0000 (17:36 +0100)
commit371cfed3116bc2ebd173fe55870f77ea1413edac
tree773964dcdc299f474852d59cfe3e0fd1a71accbe
parent9ab76556608665c35080f641c73025297d0a2813
serial: sh-sci: Redirect port interrupts to CPU _only_ when DMA stops

Since the DMA engine is not stopped everytime rx_timer_fn is called, the
interrupts have to be redirected back to CPU only when incomplete DMA
transaction is handled

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