summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2010-02-24 00:16:47 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-02-25 16:31:29 +0900
commit29463c28a553e1959ec45cc8ad9d2eb434663cdf (patch)
tree111effeab274055d9743ff74dc68ea3688197b93 /arch/sh
parentbbb892aac4724b7cc6e1626665310eddfd747235 (diff)
downloadop-kernel-dev-29463c28a553e1959ec45cc8ad9d2eb434663cdf.zip
op-kernel-dev-29463c28a553e1959ec45cc8ad9d2eb434663cdf.tar.gz
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/sh')
-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 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,
OpenPOWER on IntegriCloud