Re: [PATCH] serial: samsung: Simplify DMA engine initialization code
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
Date: 2016-12-16 10:50:43
Also in:
linux-samsung-soc
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
Date: 2016-12-16 10:50:43
Also in:
linux-samsung-soc
On 12/16/2016 10:56 AM, Marek Szyprowski wrote:
dma_request_slave_channel_compat() requires filter function and mask, which are not needed on device tree based platforms, so simplify the code by calling the more appropriate dma_request_chan() function. This additionally gives us proper error handling, because the new function returns error codes instead of NULL on failure. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>