]> asedeno.scripts.mit.edu Git - linux.git/commit
serial: samsung: check DMA engine capabilities before using DMA mode
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 17 May 2018 11:37:14 +0000 (13:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:37:56 +0000 (18:37 +0200)
commitd8db840dcb9e6d9d7f3d2527a3f96c6bb07414f7
tree12f59aecff0e041d5fffc26507b12892477c170a
parentb6da31b2c07c46f2dcad1d86caa835227a16d9ff
serial: samsung: check DMA engine capabilities before using DMA mode

DMA engine driver might not always provide all the features needed by
serial driver to properly operate in DMA mode, so check that before
selecting DMA mode.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c