From: Magnus Damm Date: Thu, 16 Oct 2008 22:51:20 +0000 (-0300) Subject: V4L/DVB (9244): video: improve sh_mobile_ceu buffer handling X-Git-Tag: v2.6.28-rc1~256^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51354cc3e0c233803505ac8842c3683f42ff42bb;p=pandora-kernel.git V4L/DVB (9244): 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. Tested-by: Kuninori Morimoto Signed-off-by: Magnus Damm Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed