projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eab7ce
)
Input: tegra-kbc - enable key autorepeat
author
Rakesh Iyer
<riyer@nvidia.com>
Mon, 25 Jul 2011 07:49:55 +0000
(
00:49
-0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 25 Jul 2011 08:26:17 +0000
(
01:26
-0700)
To support key repeats, keyboard needs to be setup as an autorepeating
device.
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/tegra-kbc.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/tegra-kbc.c
b/drivers/input/keyboard/tegra-kbc.c
index 2b3b73ec6689599596704a5bd175ee98d7b2d23b..da3828fc2c09fc151b129ebf4086cad8ecdf9bc3 100644
(file)
--- a/
drivers/input/keyboard/tegra-kbc.c
+++ b/
drivers/input/keyboard/tegra-kbc.c
@@
-657,7
+657,7
@@
static int __devinit tegra_kbc_probe(struct platform_device *pdev)
input_set_drvdata(input_dev, kbc);
- input_dev->evbit[0] = BIT_MASK(EV_KEY);
+ input_dev->evbit[0] = BIT_MASK(EV_KEY)
| BIT_MASK(EV_REP)
;
input_set_capability(input_dev, EV_MSC, MSC_SCAN);
input_dev->keycode = kbc->keycode;