Message ID | 20100719195912.GC31837@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/input.c b/drivers/input/input.c index ce5d90d..0c71977 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -900,6 +900,7 @@ int input_set_keycode(struct input_dev *dev, if (retval) goto out; + old_keycode = kt_entry.keycode; kt_entry.keycode = keycode; retval = dev->setkeycodebig(dev, &kt_entry);