serial: samsung: add dma reqest/release functions
authorRobert Baldyga <r.baldyga@samsung.com>
Wed, 10 Dec 2014 11:49:25 +0000 (12:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:25:39 +0000 (14:25 -0800)
commit62c37eedb74c8fbf3c92f8f28a871e6bd80c181a
tree28b553e4d6a37b0f6e14eb2ea2b8aede75e38f18
parenta291b7d5f600a068af1e2186ce590a9a39093ddb
serial: samsung: add dma reqest/release functions

Add functions requesting and releasing RX and TX DMA channels. This
function are called only when "dmas" property in serial device-tree
node is defined.

Based on previous work of Sylwester Nawrocki and Lukasz Czerwinski.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c