diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-12-16 12:56:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-12 13:51:24 +0300 |
| commit | ba3d6f8f10c3897e0edde3069beb0bfbe81783a6 (patch) | |
| tree | 9b4c9c8f512729283b250ea0cdc20bb2a4e50448 /include/linux | |
| parent | f87fa71e6fb0fa7bade9c3f3bb3f49325e76a90a (diff) | |
| download | linux-ba3d6f8f10c3897e0edde3069beb0bfbe81783a6.tar.xz | |
serial: samsung: Simplify DMA engine initialization code
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
