arm: tegra: kbc: cardhu/enterprise: Set scan times
Laxman Dewangan [Sun, 30 Oct 2011 13:21:23 +0000 (18:21 +0530)]
Setting the number of scans to 30 by keyboard controller after
pressed key released.
Also setting repeat delay time to 1 clock.

bug 876712

Reviewed-on: http://git-master/r/62592
(cherry picked from commit 9afabbf3d72135346b02c9a2cf48e4793fb90d43)

Change-Id: Idec353b68fba82676655125acd7f3d78ff4d0d08
Reviewed-on: http://git-master/r/63198
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rff2ef90d39a71cb0692cf620872c73b2ea73d164

arch/arm/mach-tegra/board-cardhu-kbc.c

index 8a5fc48..586e5ff 100644 (file)
@@ -67,8 +67,8 @@ static struct tegra_kbc_wake_key cardhu_wake_cfg[] = {
 
 static struct tegra_kbc_platform_data cardhu_kbc_platform_data = {
        .debounce_cnt = 20,
-       .repeat_cnt = 50 * 32,
-       .scan_timeout_cnt = 3000 * 32,
+       .repeat_cnt = 1,
+       .scan_count = 30,
        .plain_keycode = plain_kbd_keycode,
        .fn_keycode = NULL,
        .is_filter_keys = false,