summaryrefslogtreecommitdiff
path: root/v4l/Makefile.kernel
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-03-31 08:44:22 +0200
committerGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-03-31 08:44:22 +0200
commit760482414d848730ddfb7bbf28d43c7e829f3eac (patch)
tree2354089b300cf665eb1f99ba83096951c7975cee /v4l/Makefile.kernel
parent25c1a20a39b9a75aaef1dc3b2bcbf3276856d915 (diff)
downloadmediapointer-dvb-s2-760482414d848730ddfb7bbf28d43c7e829f3eac.tar.gz
mediapointer-dvb-s2-760482414d848730ddfb7bbf28d43c7e829f3eac.tar.bz2
pxa_camera: Fix overrun condition on last buffer
From: Robert Jarzmik <robert.jarzmik@free.fr> The last buffer queued will often overrun, as the DMA chain is finished, and the time the dma irq handler is activated, the QCI fifos are filled by the sensor. The fix is to ignore the overrun condition on the last queued buffer, and restart the capture only on intermediate buffers of the chain. Moreover, a fix was added to the very unlikely condition where in YUV422P mode, one channel overruns while another completes at the very same time. The capture is restarted after the overrun as before, but the other channel completion is now ignored. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/pxa_camera.c | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-)
Diffstat (limited to 'v4l/Makefile.kernel')
0 files changed, 0 insertions, 0 deletions