diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-12-13 13:13:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 07:14:25 -0200 |
commit | 88e268702bfba78448abd20a31129458707383aa (patch) | |
tree | a008036986dd5827c1883754e33ce6a744db8a44 /crypto/ecb.c | |
parent | 79aeb3f3083a8a795467eae429cb2d6faf482f32 (diff) | |
download | talos-op-linux-88e268702bfba78448abd20a31129458707383aa.tar.gz talos-op-linux-88e268702bfba78448abd20a31129458707383aa.zip |
[media] vb2: Improve file I/O emulation to handle buffers in any order
videobuf2 file I/O emulation assumed that buffers dequeued from the
driver would return in the order they were enqueued in the driver.
Improve the file I/O emulator's book-keeping to remove this assumption.
Also set the buf->size properly if a write() dequeues a buffer and the
VB2_FILEIO_WRITE_IMMEDIATELY flag is set.
Based on an initial patch by Andy Walls.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'crypto/ecb.c')
0 files changed, 0 insertions, 0 deletions