commit | a2c718ce6a61f759fc47d632bcc3d8cf6b244581 | [log] [tgz] |
---|---|---|
author | Dirk Behme <dirk.behme@de.bosch.com> | Tue Dec 09 18:11:31 2014 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 09 14:23:07 2015 -0800 |
tree | b1e4215e429d35b9ab456d2805873a055b4eb897 | |
parent | 0bbc9b81c1638f6e75c8ed423b5e6ae1a2035d79 [diff] |
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 <jiada_wang@mentor.com> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>