[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1311362271-10544-1-git-send-email-riyer@nvidia.com>
Date: Fri, 22 Jul 2011 12:17:51 -0700
From: riyer@...dia.com
To: dmitry.torokhov@...il.com
Cc: rydberg@...omail.se, olof@...om.net, amartin@...dia.com,
linux-kernel@...r.kernel.org, linux-input@...r.kernel.org,
Rakesh Iyer <riyer@...dia.com>
Subject: [PATCH v1] Input: tegra-kbc - Fix support for key repeat.
From: Rakesh Iyer <riyer@...dia.com>
To support key repeats, keyboard needs to be setup as an autorepeating device.
Signed-off-by: Rakesh Iyer <riyer@...dia.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists