]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/keyboard/gpio_keys.c
OMAP_LDP: Add keypad support on ZOOM SDK
[linux-2.6-omap-h63xx.git] / drivers / input / keyboard / gpio_keys.c
index 05f3f43582c2c1e40658e2d8e6e77f8717210f38..722529c77147733f3f8fb8667619b6df35f409f5 100644 (file)
@@ -98,6 +98,10 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev)
        input->id.product = 0x0001;
        input->id.version = 0x0100;
 
+       /* Enable auto repeat feature of Linux input subsystem */
+       if (pdata->rep)
+               set_bit(EV_REP, input->evbit);
+
        ddata->input = input;
 
        for (i = 0; i < pdata->nbuttons; i++) {