diff options
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 6bfa0cf4b1d2..a86afd0a5ef1 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -498,7 +498,7 @@ static int atkbd_set_repeat_rate(struct atkbd *atkbd) | |||
498 | i++; | 498 | i++; |
499 | dev->rep[REP_PERIOD] = period[i]; | 499 | dev->rep[REP_PERIOD] = period[i]; |
500 | 500 | ||
501 | while (j < ARRAY_SIZE(period) - 1 && delay[j] < dev->rep[REP_DELAY]) | 501 | while (j < ARRAY_SIZE(delay) - 1 && delay[j] < dev->rep[REP_DELAY]) |
502 | j++; | 502 | j++; |
503 | dev->rep[REP_DELAY] = delay[j]; | 503 | dev->rep[REP_DELAY] = delay[j]; |
504 | 504 | ||