Message ID | 1311362271-10544-1-git-send-email-riyer@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5599d2e60b1191520778def7c0658fbc6de6d8c1 |
Headers | show |
On Fri, Jul 22, 2011 at 12:17:51PM -0700, riyer@nvidia.com wrote: > From: Rakesh Iyer <riyer@nvidia.com> > > To support key repeats, keyboard needs to be setup as an autorepeating device. > > Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Applied, thanks Rakesh.
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index 2b3b73e..da3828f 100644 --- 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;