make comedi_buf_put automatically signal block events
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 17 Jun 2002 15:46:03 +0000 (15:46 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 17 Jun 2002 15:46:03 +0000 (15:46 +0000)
include/linux/comedidev.h

index 28ded3981725e2507db099d28fc62d8bad4cde4b..04b250e58352587516ab7b25d3f8cda20c73461a 100644 (file)
@@ -389,6 +389,8 @@ static inline int comedi_buf_get(comedi_async *async, sampl_t *x)
        }
        async->buf_int_count += sizeof(sampl_t);
 
+       async->events |= COMEDI_CB_BLOCK;
+
        return 0;
 }