From: Dirk Behme Date: Tue, 9 Dec 2014 09:11:27 +0000 (+0900) Subject: serial: imx: unmap scatter gather list in imx_flush_buffer X-Git-Tag: fixes-v4.0-rc1~98^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e86ae941194e6b6278ff67aad257b018e0684f;p=pandora-kernel.git serial: imx: unmap scatter gather list in imx_flush_buffer First, reformat the code to exit immediately. This allows us to add more code in more readable format. In case the TX DMA was still running, remove and disable it's resources. Signed-off-by: Dirk Behme Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed