media: stm32-dcmi: catch dma submission error
authorHugues Fruchet <hugues.fruchet@st.com>
Tue, 22 Aug 2017 14:41:08 +0000 (10:41 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 17:53:34 +0000 (13:53 -0400)
commit134e15e6815921cb6db4fa6a0453df3441989fad
tree550771a1cc06ec345977e3f07f7f1188671e3b17
parentad3cdf3e1f37299fc1422f7828243635249a3dde
media: stm32-dcmi: catch dma submission error

Test cookie return by dmaengine_submit() and return error if any.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/stm32/stm32-dcmi.c