mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 22:40:55 +07:00
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:
parent
bbb892aac4
commit
29463c28a5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user