mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
163772b7bb
commit
0b35f473c9
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue