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>
This commit is contained in:
Kuninori Morimoto 2010-02-24 00:16:47 +00:00 committed by Paul Mundt
parent bbb892aac4
commit 29463c28a5

View File

@ -313,7 +313,7 @@ static struct platform_device fsi_device = {
/* KEYSC in SoC (Needs SW33-2 set to ON) */ /* KEYSC in SoC (Needs SW33-2 set to ON) */
static struct sh_keysc_info keysc_info = { static struct sh_keysc_info keysc_info = {
.mode = SH_KEYSC_MODE_1, .mode = SH_KEYSC_MODE_1,
.scan_timing = 10, .scan_timing = 3,
.delay = 50, .delay = 50,
.keycodes = { .keycodes = {
KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5,