Commit 048e58a4 authored by Vojtech Pavlik's avatar Vojtech Pavlik

input: Add missing input_sync() calls to atkbd.c.

Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
parent 3a8dc5ea
...@@ -234,6 +234,7 @@ static void atkbd_report_key(struct input_dev *dev, struct pt_regs *regs, int co ...@@ -234,6 +234,7 @@ static void atkbd_report_key(struct input_dev *dev, struct pt_regs *regs, int co
input_regs(dev, regs); input_regs(dev, regs);
if (value == 3) { if (value == 3) {
input_report_key(dev, code, 1); input_report_key(dev, code, 1);
input_sync(dev);
input_report_key(dev, code, 0); input_report_key(dev, code, 0);
} else } else
input_event(dev, EV_KEY, code, value); input_event(dev, EV_KEY, code, value);
...@@ -352,6 +353,7 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data, ...@@ -352,6 +353,7 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
"to make it known.\n", "to make it known.\n",
code & 0x80 ? "e0" : "", code & 0x7f); code & 0x80 ? "e0" : "", code & 0x7f);
} }
input_sync(&atkbd->dev);
break; break;
case ATKBD_SCR_1: case ATKBD_SCR_1:
scroll = 1 - atkbd->release * 2; scroll = 1 - atkbd->release * 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment