[PATCH 5/6] Add missing input_sync() calls to atkbd.c

From: Vojtech Pavlik
Date: Thu Jan 27 2005 - 12:20:13 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/for-linus

===================================================================

ChangeSet@xxxxxxxxxx, 2005-01-27 14:58:43+01:00, vojtech@xxxxxxxxxxxxx
input: Add missing input_sync() calls to atkbd.c.

Signed-off-by: Vojtech Pavlik <vojtech@xxxxxxx>


atkbd.c | 2 ++
1 files changed, 2 insertions(+)

===================================================================

diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
--- a/drivers/input/keyboard/atkbd.c 2005-01-27 17:47:36 +01:00
+++ b/drivers/input/keyboard/atkbd.c 2005-01-27 17:47:36 +01:00
@@ -234,6 +234,7 @@
input_regs(dev, regs);
if (value == 3) {
input_report_key(dev, code, 1);
+ input_sync(dev);
input_report_key(dev, code, 0);
} else
input_event(dev, EV_KEY, code, value);
@@ -352,6 +353,7 @@
"to make it known.\n",
code & 0x80 ? "e0" : "", code & 0x7f);
}
+ input_sync(&atkbd->dev);
break;
case ATKBD_SCR_1:
scroll = 1 - atkbd->release * 2;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/