serial: samsung: alloc dma stucture in ourport
authorRobert Baldyga <r.baldyga@samsung.com>
Wed, 10 Dec 2014 11:49:23 +0000 (12:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:25:39 +0000 (14:25 -0800)
commit658c9d2b735fbc066a6608754b0eda77c92e637b
tree57815a986c4ad06568d2ba6a237b46a9db238e11
parent7bb6b2f65e6ce9743df42fabbf124e4ef9dc226b
serial: samsung: alloc dma stucture in ourport

When we have "dmas" property in serial node in device-tree, we do
memory alocation for dma structure which will be used in DMA handling
code.

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