From 6f0c2e2fbb0b6d642f02b44a9dfa64796efba59b Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 17 Jun 2002 15:46:03 +0000 Subject: [PATCH] make comedi_buf_put automatically signal block events --- include/linux/comedidev.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/comedidev.h b/include/linux/comedidev.h index 28ded398..04b250e5 100644 --- a/include/linux/comedidev.h +++ b/include/linux/comedidev.h @@ -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; } -- 2.26.2