media: stm32-dcmi: do not emit error trace in case of few overrun
authorHugues Fruchet <hugues.fruchet@st.com>
Mon, 1 Apr 2019 08:55:00 +0000 (04:55 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 15:07:33 +0000 (11:07 -0400)
commit1be0a2b702308f16fc1c1a58ada5aba13afc123e
tree0fc5ac4f7ee2613d6e6a9801fb2d9ac471ca494d
parentd8986600dcb6c55027f171334e4705233cdb8919
media: stm32-dcmi: do not emit error trace in case of few overrun

Report overrun error only when it exceeds a given threshold.

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