diff options
| author | Marek Szyprowski <[email protected]> | 2016-12-16 10:56:53 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-01-12 11:51:24 +0100 |
| commit | ba3d6f8f10c3897e0edde3069beb0bfbe81783a6 (patch) | |
| tree | 9b4c9c8f512729283b250ea0cdc20bb2a4e50448 /tools/perf/scripts/python/bin | |
| parent | f87fa71e6fb0fa7bade9c3f3bb3f49325e76a90a (diff) | |
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 <[email protected]>
Reviewed-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions