From: David Schleef Date: Fri, 28 Jul 2000 00:38:59 +0000 (+0000) Subject: bugfix X-Git-Tag: r0_7_48~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4af158f5e15e71fa98fccb0e9579525a043f0453;p=comedi.git bugfix --- diff --git a/comedi/rtl.c b/comedi/rtl.c index e5b7457f..6b127987 100644 --- a/comedi/rtl.c +++ b/comedi/rtl.c @@ -153,7 +153,7 @@ static int comedi_rtl_ioctl(struct rtl_file *file,unsigned int cmd, int minor=file->f_minor; int subdev=(int)arg; - return comedi_lock_ioctl(minor,subdev); + return comedi_unlock_ioctl(minor,subdev); } case COMEDI_CANCEL: { @@ -208,7 +208,7 @@ int get_priority_irq(struct comedi_irq_struct *it) int free_priority_irq(struct comedi_irq_struct *it) { - rtl_free_irq(it->irq); + rtl_free_global_irq(it->irq); return 0; }