From: Stefan Agner Date: Sat, 10 Jan 2015 08:33:45 +0000 (+0100) Subject: serial: fsl_lpuart: move DMA channel request to probe X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~82^2~58 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a818c4396cb8f0d00b48921654e7918ed54f17f;p=pandora-kernel.git serial: fsl_lpuart: move DMA channel request to probe Move the DMA channel request to probe to avoid requesting the DMA channel on each opening of the ttyLPx device. This also fixes a potential issue that TX channel is not freed when only RX channel allocation fails. The DMA channels are now handled independently, so one could use UART with DMA only in TX direction for instance. Signed-off-by: Stefan Agner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed