|
@@ -98,6 +98,10 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev)
|
|
input->id.product = 0x0001;
|
|
input->id.product = 0x0001;
|
|
input->id.version = 0x0100;
|
|
input->id.version = 0x0100;
|
|
|
|
|
|
|
|
+ /* Enable auto repeat feature of Linux input subsystem */
|
|
|
|
+ if (pdata->rep)
|
|
|
|
+ __set_bit(EV_REP, input->evbit);
|
|
|
|
+
|
|
ddata->input = input;
|
|
ddata->input = input;
|
|
|
|
|
|
for (i = 0; i < pdata->nbuttons; i++) {
|
|
for (i = 0; i < pdata->nbuttons; i++) {
|