]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hid/hidraw.c
HID: fix lock imbalance in hidraw
[linux-2.6-omap-h63xx.git] / drivers / hid / hidraw.c
index 1c23813995aa73d249c1c9bb30fc337ba314fbf7..894d52e05bf9cd995586250011e8401227bd043a 100644 (file)
@@ -264,6 +264,7 @@ static long hidraw_ioctl(struct file *file, unsigned int cmd,
                default:
                        ret = -ENOTTY;
        }
+       unlock_kernel();
        return ret;
 }