diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2009-03-31 03:44:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-06 21:43:46 -0300 |
commit | 8c62e221c71a0240f16ea8aa29609f93a68c2ff9 (patch) | |
tree | 9cdca5f3c8d2e7eff020a1c50ef42419ad1cad40 /fs/afs | |
parent | 256b02332a0ba1d7382d736d776e605be63ded17 (diff) |
V4L/DVB (11322): pxa_camera: Fix overrun condition on last buffer
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions