diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 0eb955ddc654..1bf61f00cbd2 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -150,7 +150,7 @@ static unsigned char atkbd_unxlate_table[128] = { | |||
150 | #define ATKBD_RET_EMUL0 0xe0 | 150 | #define ATKBD_RET_EMUL0 0xe0 |
151 | #define ATKBD_RET_EMUL1 0xe1 | 151 | #define ATKBD_RET_EMUL1 0xe1 |
152 | #define ATKBD_RET_RELEASE 0xf0 | 152 | #define ATKBD_RET_RELEASE 0xf0 |
153 | #define ATKBD_RET_HANGUEL 0xf1 | 153 | #define ATKBD_RET_HANGEUL 0xf1 |
154 | #define ATKBD_RET_HANJA 0xf2 | 154 | #define ATKBD_RET_HANJA 0xf2 |
155 | #define ATKBD_RET_ERR 0xff | 155 | #define ATKBD_RET_ERR 0xff |
156 | 156 | ||
@@ -304,7 +304,7 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data, | |||
304 | 304 | ||
305 | if (atkbd->emul || | 305 | if (atkbd->emul || |
306 | (code != ATKBD_RET_EMUL0 && code != ATKBD_RET_EMUL1 && | 306 | (code != ATKBD_RET_EMUL0 && code != ATKBD_RET_EMUL1 && |
307 | code != ATKBD_RET_HANGUEL && code != ATKBD_RET_HANJA && | 307 | code != ATKBD_RET_HANGEUL && code != ATKBD_RET_HANJA && |
308 | (code != ATKBD_RET_ERR || atkbd->err_xl) && | 308 | (code != ATKBD_RET_ERR || atkbd->err_xl) && |
309 | (code != ATKBD_RET_BAT || atkbd->bat_xl))) { | 309 | (code != ATKBD_RET_BAT || atkbd->bat_xl))) { |
310 | atkbd->release = code >> 7; | 310 | atkbd->release = code >> 7; |
@@ -333,8 +333,8 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data, | |||
333 | case ATKBD_RET_RELEASE: | 333 | case ATKBD_RET_RELEASE: |
334 | atkbd->release = 1; | 334 | atkbd->release = 1; |
335 | goto out; | 335 | goto out; |
336 | case ATKBD_RET_HANGUEL: | 336 | case ATKBD_RET_HANGEUL: |
337 | atkbd_report_key(atkbd->dev, regs, KEY_HANGUEL, 3); | 337 | atkbd_report_key(atkbd->dev, regs, KEY_HANGEUL, 3); |
338 | goto out; | 338 | goto out; |
339 | case ATKBD_RET_HANJA: | 339 | case ATKBD_RET_HANJA: |
340 | atkbd_report_key(atkbd->dev, regs, KEY_HANJA, 3); | 340 | atkbd_report_key(atkbd->dev, regs, KEY_HANJA, 3); |