diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 1c23813995aa73d249c1c9bb30fc337ba314fbf7..894d52e05bf9cd995586250011e8401227bd043a 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c @@ -264,6 +264,7 @@ static long hidraw_ioctl(struct file *file, unsigned int cmd, default: ret = -ENOTTY; } + unlock_kernel(); return ret; }