From: Andy Walls Date: Sat, 23 Aug 2008 21:36:50 +0000 (-0300) Subject: V4L/DVB (8774): cx18: Have CX23418 release buffers at end of capture. X-Git-Tag: v2.6.28-rc1~601^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b5df8ea40ac533c62b8e5f9f173d985665fc752;p=pandora-kernel.git V4L/DVB (8774): cx18: Have CX23418 release buffers at end of capture. cx18: Have CX23418 release buffers at end of capture. The CX23418 reuses task handles so we need to have it release the buffers associated with a task handle at the end of a capture. If we don't, buffer ids used for one type of stream in the driver (MPEG, TS, PCM), could be used for another type of stream by the CX23418, if a previously used handle is assigned to a different type of stream. The driver would drop valid buffers when this happened. Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed