summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx23418.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-08-23 17:36:50 -0400
committerAndy Walls <awalls@radix.net>2008-08-23 17:36:50 -0400
commit59261d01832b22f9e02fcdced94a1156259db422 (patch)
tree47273a350081b521dd8844024133ac684879c6ba /linux/drivers/media/video/cx18/cx23418.h
parentdf6b47b428c6af3a87099d491e8b62904841e682 (diff)
downloadmediapointer-dvb-s2-59261d01832b22f9e02fcdced94a1156259db422.tar.gz
mediapointer-dvb-s2-59261d01832b22f9e02fcdced94a1156259db422.tar.bz2
cx18: Have CX23418 release buffers at end of capture.
From: Andy Walls <awalls@radix.net> 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. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx23418.h')
-rw-r--r--linux/drivers/media/video/cx18/cx23418.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx23418.h b/linux/drivers/media/video/cx18/cx23418.h
index e7ed05305..668f968d7 100644
--- a/linux/drivers/media/video/cx18/cx23418.h
+++ b/linux/drivers/media/video/cx18/cx23418.h
@@ -351,7 +351,7 @@
Descriptor Lists to the driver
IN[0] - Task handle. Handle of the task to start
ReturnCode - One of the ERR_DE_... */
-/* #define CX18_CPU_DE_ReleaseMDL (CPU_CMD_MASK_DE | 0x0006) */
+#define CX18_CPU_DE_RELEASE_MDL (CPU_CMD_MASK_DE | 0x0006)
/* Description: This command signals the cpu that the dat buffer has been
consumed and ready for re-use.