From 47ceeb4fb10e058f1aa28f0525a1dae63fd348f0 Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Fri, 30 Dec 2011 15:16:44 -0800 Subject: [PATCH] --- yaml --- r: 282413 b: refs/heads/master c: 566cf5b6e34504aaccb76167ecccd7e7e69e6456 h: refs/heads/master i: 282411: ec5d76f093e4c453bf059e301ba0899c0cc4f723 v: v3 --- [refs] | 2 +- trunk/drivers/input/evdev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7b0739738556..4c75cd1a9ad2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 36a281e25276f2d138bbbca4170d11453323cce1 +refs/heads/master: 566cf5b6e34504aaccb76167ecccd7e7e69e6456 diff --git a/trunk/drivers/input/evdev.c b/trunk/drivers/input/evdev.c index 4cf25347b015..03344b3c7c15 100644 --- a/trunk/drivers/input/evdev.c +++ b/trunk/drivers/input/evdev.c @@ -369,7 +369,7 @@ static int evdev_fetch_next_event(struct evdev_client *client, spin_lock_irq(&client->buffer_lock); - have_event = client->head != client->tail; + have_event = client->packet_head != client->tail; if (have_event) { *event = client->buffer[client->tail++]; client->tail &= client->bufsize - 1;