summaryrefslogtreecommitdiffstats
path: root/drivers/block/z2ram.c
diff options
context:
space:
mode:
authorAidan Thornton2008-04-13 20:09:36 +0200
committerMauro Carvalho Chehab2008-04-24 19:09:39 +0200
commit3b5fa928a6b2971ec65571745defc5d9758b4bc1 (patch)
tree80854c270cec4154a9b86e4ed02b4970897104b5 /drivers/block/z2ram.c
parentV4L/DVB (7564): em28xx: Some fixes to display logic (diff)
downloadkernel-qcow2-linux-3b5fa928a6b2971ec65571745defc5d9758b4bc1.tar.gz
kernel-qcow2-linux-3b5fa928a6b2971ec65571745defc5d9758b4bc1.tar.xz
kernel-qcow2-linux-3b5fa928a6b2971ec65571745defc5d9758b4bc1.zip
V4L/DVB (7565): em28xx: fix buffer underrun handling
This patch fixes three related issues and a fourth trivial one: - Use buffers even if no-one's currently waiting for them (fixes underrun issues); - Don't return incomplete/mangled frames at the start of streaming and in the case of buffer underruns; - Fix an issue which could cause the driver to write to a buffer that's been freed after videobuf_queue_cancel is called (exposed by the previous two fixes - for some reason, ignoring buffers that weren't being waited on worked around the issue); - Fix a bug which could cause only one field to be filled in the first buffer (or first few buffers) after streaming is started. Signed-off-by: Aidan Thornton <makosoft@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/block/z2ram.c')
0 files changed, 0 insertions, 0 deletions