gpio-keys: enable autorepeat
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 5 May 2010 23:15:34 +0000 (02:15 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 5 May 2010 23:15:34 +0000 (02:15 +0300)
do this to be consistent with keypad and to make framebuffer console
more useful.

arch/arm/mach-omap2/board-omap3pandora-input.c

index af76cef..b7a5f6b 100644 (file)
@@ -190,6 +190,7 @@ static const unsigned short buttons_joy[] = {
 static struct gpio_keys_platform_data gpio_key_info = {
        .buttons        = gpio_buttons,
        .nbuttons       = ARRAY_SIZE(gpio_buttons),
+       .rep            = 1,
        .buttons_reserved       = buttons_joy,
        .nbuttons_reserved      = ARRAY_SIZE(buttons_joy),
 };