serial: imx: Replace dmaengine old API
authorFabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Tue, 13 Sep 2016 08:17:05 +0000 (10:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 10:35:49 +0000 (12:35 +0200)
commite5e8960236dbff4b49eac1ec7f47b1c912531b62
tree8d0aac3f2c125b893e7b3f28b2b786f4d9f473af
parenta5a2b13074fd8d290bad32a5b0a0c5be9f3a84fa
serial: imx: Replace dmaengine old API

dmaengine_terminate_all() is deprecated and should be replaced by
dmaengine_terminate_sync() in non-atomic context or dmaengine_terminate_async()
with dmaengine_synchronize().

See commit b36f09c3c441 ("dmaengine: Add transfer termination synchronization support")

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c