HACK: input: evdev: make CLOCK_MONOTONIC the default

Hack to maintain compatibility with existing Android userspace.

Change-Id: Ia6d768b3d51553bb43e7f70e605c2996a874e8cb
Signed-off-by: Colin Cross <ccross@android.com>
[sboyd: touchscreen won't work without this patch]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
Colin Cross 2012-05-02 13:47:47 -07:00 committed by Stephen Boyd
parent 163772b7bb
commit 0b35f473c9

View file

@ -323,6 +323,7 @@ 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",