From 4af158f5e15e71fa98fccb0e9579525a043f0453 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 28 Jul 2000 00:38:59 +0000 Subject: [PATCH] bugfix --- comedi/rtl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.26.2