From a2c718ce6a61f759fc47d632bcc3d8cf6b244581 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Tue, 9 Dec 2014 18:11:31 +0900 Subject: [PATCH] serial: imx: disable TDMAEN in imx_flush_buffer() Terminating the DMA, make sure the interrupt is disabled, too. This fixes random kernel Oops due to dma_tx_call() called for invalid transmissions. If we disable the TDMAEN, make sure it's enabled again if a TX DMA is started. Signed-off-by: Jiada Wang Signed-off-by: Dirk Behme Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed