sh: add kycr2_delay for sh_keysc
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Tue, 15 Sep 2009 00:21:34 +0000 (00:21 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 15 Sep 2009 00:30:14 +0000 (09:30 +0900)
commit1f85d381062a046fd8f3ddb654a5276266daf72c
tree2fd3f42ede6f3272e21d02c3fd72adfb000b9e1d
parent033eb0acddb71bbee32dce285256b3489b17ef7f
sh: add kycr2_delay for sh_keysc

After KYCR2 is set, udelay might become necessary if there are only a
small number of keys attached. This patch introduces an optional delay
through the platform data to address this problem.

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/sh_keysc.h
drivers/input/keyboard/sh_keysc.c