From: Frank Mori Hess Date: Mon, 17 Jun 2002 15:46:03 +0000 (+0000) Subject: make comedi_buf_put automatically signal block events X-Git-Tag: r0_7_66~196 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f0c2e2fbb0b6d642f02b44a9dfa64796efba59b;p=comedi.git make comedi_buf_put automatically signal block events --- 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; }