media: stm32-dcmi: remove deprecated dmaengine_terminate_all()
authorHugues Fruchet <hugues.fruchet@st.com>
Wed, 7 Oct 2020 16:05:52 +0000 (18:05 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:15 +0000 (10:31 +0100)
commitab32b2c3636b63b2a3d5ddb04627d6a3219d27d6
tree358ae168ca5b4e25120606eb57e31444740ac7d9
parentb9b327623b45f7e57245638d19c04392b457cab9
media: stm32-dcmi: remove deprecated dmaengine_terminate_all()

Replace dmaengine_terminate_all() by dmaengine_terminate_sync()
to ensure that all pending dma operations are really finished.
This is not ensured by dmaengine_terminate_all() and this API
is deprecated, so better to use the _sync() variant.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Reviewed-by: Philippe CORNU <philippe.cornu@st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/stm32/stm32-dcmi.c