V4L/DVB (7670): pxa-camera: handle FIFO overruns
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 22 Apr 2008 13:37:49 +0000 (10:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:45 +0000 (14:09 -0300)
commite7c506881973d0c762d660005be54c4095219c59
treeb0dea2bf2e0145bc6a39944c44ce185d34df31e5
parenta5462e5be3c1cec7e00e6af9985ff31bf4ef8aa0
V4L/DVB (7670): pxa-camera: handle FIFO overruns

FIFO overruns are not seldom on PXA camera interface FIFOs. Handle them by
dropping the corrupted frame, waiting for the next start-of-frame, and
restarting capture.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pxa_camera.c