aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2010-02-23 19:16:47 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-02-25 02:31:29 -0500
commit29463c28a553e1959ec45cc8ad9d2eb434663cdf (patch)
tree111effeab274055d9743ff74dc68ea3688197b93 /arch
parentbbb892aac4724b7cc6e1626665310eddfd747235 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/boards/mach-se/7724/setup.c2
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 6419f27a9ef2..ee5251f92811 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 = {
313/* KEYSC in SoC (Needs SW33-2 set to ON) */ 313/* KEYSC in SoC (Needs SW33-2 set to ON) */
314static struct sh_keysc_info keysc_info = { 314static struct sh_keysc_info keysc_info = {
315 .mode = SH_KEYSC_MODE_1, 315 .mode = SH_KEYSC_MODE_1,
316 .scan_timing = 10, 316 .scan_timing = 3,
317 .delay = 50, 317 .delay = 50,
318 .keycodes = { 318 .keycodes = {
319 KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, 319 KEY_1, KEY_2, KEY_3, KEY_4, KEY_5,