Gitweb: http://git.kernel.org/linus/29463c28a553e1959ec45cc8ad9d2eb434663cdf
Commit: 29463c28a553e1959ec45cc8ad9d2eb434663cdf
Parent: bbb892aac4724b7cc6e1626665310eddfd747235
Author: Kuninori Morimoto <morimoto.kuninori@renesas.com>
AuthorDate: Wed Feb 24 00:16:47 2010 +0000
Committer: Paul Mundt <lethal@linux-sh.org>
CommitDate: Thu Feb 25 16:31:29 2010 +0900
sh: ms7724: modify scan_timing for KEYSC
KEYSC::SCN register of SH7724 is 3bit.
Thus, scan_timing should be 0 - 7 here.
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
arch/sh/boards/mach-se/7724/setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c
index 6419f27..ee5251f 100644
--- a/arch/sh/boards/mach-se/7724/setup.c
+++ b/arch/sh/boards/mach-se/7724/setup.c
@@ -313,7 +313,7 @@ static struct platform_device fsi_device = {
/* KEYSC in SoC (Needs SW33-2 set to ON) */
static struct sh_keysc_info keysc_info = {
.mode = SH_KEYSC_MODE_1,
- .scan_timing = 10,
+ .scan_timing = 3,
.delay = 50,
.keycodes = {
KEY_1, KEY_2, KEY_3, KEY_4, KEY_5,
--