commit | 42afa627c338e22bbde06c95bd7b46f960c91f79 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Sun Feb 18 22:02:46 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 28 15:29:59 2018 +0100 |
tree | 81218297c50c973a6d2ece14aa98b38919022cb6 | |
parent | 4238c00bb154be840c11540a81c5e99faa06a631 [diff] |
serial: imx: drop check for enabled dma in .startup imx_shutdown() calls imx_disable_dma if .dma_is_enabled. So after imx_shudown() completes, .dma_is_enabled is zero. For this reason .dma_is_enabled is also zero when imx_startup() is called. So the check for this variable being zero can be dropped. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>