linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] Input: tegra-kbc - Fix support for key repeat.
@ 2011-07-22 19:17 riyer
  2011-07-25 18:20 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: riyer @ 2011-07-22 19:17 UTC (permalink / raw)
  To: dmitry.torokhov
  Cc: rydberg, olof, amartin, linux-kernel, linux-input, Rakesh Iyer

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>
---
 drivers/input/keyboard/tegra-kbc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] Input: tegra-kbc - Fix support for key repeat.
  2011-07-22 19:17 [PATCH v1] Input: tegra-kbc - Fix support for key repeat riyer
@ 2011-07-25 18:20 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2011-07-25 18:20 UTC (permalink / raw)
  To: riyer; +Cc: rydberg, olof, amartin, linux-kernel, linux-input

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.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-25 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 19:17 [PATCH v1] Input: tegra-kbc - Fix support for key repeat riyer
2011-07-25 18:20 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).