media: stm32-dcmi: do not fall into error on buffer starvation
authorHugues Fruchet <hugues.fruchet@st.com>
Mon, 11 Jun 2018 09:50:24 +0000 (05:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 11:45:40 +0000 (07:45 -0400)
commitb53a24fc2849a4d56961ac74a7aaeca9f5953a5a
treeef9fc861bdf675de82981bdd5a2faf0064856784
parent4b84e75020a6b136e7160a9c53443b4c26e5d518
media: stm32-dcmi: do not fall into error on buffer starvation

Return silently instead of falling into error when running
out of available buffers when restarting capture.
Capture will be restarted when new buffers will be
provided by V4L2 client.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/stm32/stm32-dcmi.c