diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-13 12:09:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-13 12:09:36 -0300 |
commit | 85d8e4c1c7772689a1b1fc27cf448ac3a261e3ec (patch) | |
tree | 3ba5b5b5485647bd59616ed33bc7ead428df91ec /linux/drivers/media/dvb | |
parent | 081541c29a9db0da6d859a340de9dc5b7e7c77fc (diff) | |
download | mediapointer-dvb-s2-85d8e4c1c7772689a1b1fc27cf448ac3a261e3ec.tar.gz mediapointer-dvb-s2-85d8e4c1c7772689a1b1fc27cf448ac3a261e3ec.tar.bz2 |
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 'linux/drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions