diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-17 00:51:20 +0200 |
---|---|---|
committer | Magnus Damm <damm@igel.co.jp> | 2008-10-17 00:51:20 +0200 |
commit | d4f6b3ae05b4eb79674f97cfd4abc5f352d7edec (patch) | |
tree | 94d24351f36d3063f6c9736b0d70e519912eb505 /linux/firmware/vicam | |
parent | 3b055603c92cdf22c74998fbe2c639d0b80fe22b (diff) | |
download | mediapointer-dvb-s2-d4f6b3ae05b4eb79674f97cfd4abc5f352d7edec.tar.gz mediapointer-dvb-s2-d4f6b3ae05b4eb79674f97cfd4abc5f352d7edec.tar.bz2 |
video: improve sh_mobile_ceu buffer handling
This patch improves the buffer handling in the sh_mobile_ceu driver.
Instead of marking all queued buffers as VIDEOBUF_ACTIVE the code now
marks queued-but-not-active buffers as VIDEOBUF_QUEUED and buffers
involved in dma as VIDEOBUF_ACTIVE. The code is also updated with
code to cancel active buffers, thanks to Morimoto-san.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Tested-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
linux/drivers/media/video/sh_mobile_ceu_camera.c | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
Diffstat (limited to 'linux/firmware/vicam')
0 files changed, 0 insertions, 0 deletions