Input: atakbd - fix Atari CapsLock behaviour
authorMichael Schmitz <schmitzmic@gmail.com>
Mon, 17 Sep 2018 22:27:49 +0000 (15:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Oct 2018 07:48:50 +0000 (09:48 +0200)
commit1c22d2cbd9f2d944e123af0c94d538f005e03ff4
tree91f9ab0b0fb9653b73a811795d752f2c14e61729
parent8b8ab47a093d827991e33af55dc41304fca5ef0e
Input: atakbd - fix Atari CapsLock behaviour

[ Upstream commit 52d2c7bf7c90217fbe875d2d76f310979c48eb83 ]

The CapsLock key on Atari keyboards is not a toggle, it does send the
normal make and break scancodes.

Drop the CapsLock toggle handling code, which did cause the CapsLock
key to merely act as a Shift key.

Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/keyboard/atakbd.c