summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/input/evdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index a93743879c0..5e943b18f61 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -323,6 +323,8 @@ static int evdev_open(struct inode *inode, struct file *file)
goto err_put_evdev;
}
+ client->clkid = CLOCK_MONOTONIC;
+
client->bufsize = bufsize;
spin_lock_init(&client->buffer_lock);
snprintf(client->name, sizeof(client->name), "%s-%d",