From 825423e4c4f18289df2393951cfd2a7a31fc0464 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 31 Jan 2001 22:22:27 +0000 Subject: Merge with Linux 2.4.1. --- drivers/usb/rio500.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/usb/rio500.c') diff --git a/drivers/usb/rio500.c b/drivers/usb/rio500.c index 6d7b9043d..29b926056 100644 --- a/drivers/usb/rio500.c +++ b/drivers/usb/rio500.c @@ -247,6 +247,7 @@ ioctl_rio(struct inode *inode, struct file *file, unsigned int cmd, return 0; err_out: + up(&(rio->lock)); return retval; } @@ -389,7 +390,7 @@ read_rio(struct file *file, char *buffer, size_t count, loff_t * ppos) result, partial, this_read); return -EIO; } else { - unlock_kernel(); + up(&(rio->lock)); return (0); } -- cgit v1.2.3