]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/usb-skeleton.c
Merge branch 'sg' of git://git.kernel.dk/linux-2.6-block
[karo-tx-linux.git] / drivers / usb / usb-skeleton.c
index 8de11deb5d1429dffb16febcd1d834623b59d0c5..c815a40e167f33f7427f0c908514e0e93b685b7d 100644 (file)
@@ -125,6 +125,7 @@ static int skel_open(struct inode *inode, struct file *file)
 
        /* save our object in the file's private structure */
        file->private_data = dev;
+       mutex_unlock(&dev->io_mutex);
 
 exit:
        return retval;