commit | dedc64e02f5da1c7bd0b4ec232341047a8b0142b | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Fri Mar 02 11:07:25 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 09 10:21:01 2018 -0800 |
tree | 46fda2471e8defc0af3be5ff302075d3b0404ab7 | |
parent | 02b0abd3bb93ea1d9818c5c5b1fcf293f81cee37 [diff] |
serial: imx: Stop to receive in .stop_rx() When the UART is used in DMA mode, .stop_rx() does nothing if the port isn't suspended. This is wrong as .stop_rx() should stop receiving characters unconditionally. When the port is about to be closed the DMA channel is stopped in .shutdown(), so this isn't necessary to be in .stop_rx() here, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>