Message ID | 1280161278.3492.7.camel@maxim-laptop (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/input.c b/drivers/input/input.c index 43aeb71..ce5d90d 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -1850,7 +1850,7 @@ int input_register_device(struct input_dev *dev) dev->getkeycodebig_from_scancode = input_default_getkeycode_from_scancode; } - if (dev->setkeycode) { + if (!dev->setkeycode) { if (!dev->setkeycodebig) dev->setkeycodebig = input_default_setkeycode; }