NULL inttrig in do_become_nonbusy().
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 13 Aug 2007 15:05:53 +0000 (15:05 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 13 Aug 2007 15:05:53 +0000 (15:05 +0000)
comedi/comedi_fops.c

index 2a80d0ef2b40e99362b6ec30268e0d4999999eaf..819d99f4b5293427e5f3a0303a48ddd1be303ed2 100644 (file)
@@ -1557,6 +1557,7 @@ void do_become_nonbusy(comedi_device *dev,comedi_subdevice *s)
 #endif
        if(async){
                comedi_reset_async_buf( async );
+               async->inttrig = NULL;
        }else{
                printk("BUG: (?) do_become_nonbusy called with async=0\n");
        }