[PATCH] staging: comedi: COMEDI_CB_EOA is also used to report end-of-output.

W. Trevor King wking at drexel.edu
Mon Apr 16 10:25:18 PDT 2012


Update comments in comedi.h accordingly.

Signed-off-by: W. Trevor King <wking at drexel.edu>
---
 drivers/staging/comedi/comedi.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 14ea35a..8ea55ae 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -465,7 +465,7 @@
 /* only relevant to kernel modules. */
 
 #define COMEDI_CB_EOS		1	/* end of scan */
-#define COMEDI_CB_EOA		2	/* end of acquisition */
+#define COMEDI_CB_EOA		2	/* end of acquisition/output */
 #define COMEDI_CB_BLOCK		4	/* data has arrived:
 					 * wakes up read() / write() */
 #define COMEDI_CB_EOBUF		8	/* DEPRECATED: end of buffer */
-- 
1.7.3.4



More information about the devel mailing list