summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pic32_uart.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-12-16 10:56:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 11:51:24 +0100
commitba3d6f8f10c3897e0edde3069beb0bfbe81783a6 (patch)
tree9b4c9c8f512729283b250ea0cdc20bb2a4e50448 /drivers/tty/serial/pic32_uart.c
parentf87fa71e6fb0fa7bade9c3f3bb3f49325e76a90a (diff)
downloadtalos-obmc-linux-ba3d6f8f10c3897e0edde3069beb0bfbe81783a6.tar.gz
talos-obmc-linux-ba3d6f8f10c3897e0edde3069beb0bfbe81783a6.zip
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 'drivers/tty/serial/pic32_uart.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud