]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
macintosh: fix fabrication of caplock key events
authorAndy Wingo <wingo@pobox.com>
Mon, 14 Jan 2008 08:55:15 +0000 (00:55 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 14 Jan 2008 16:52:22 +0000 (08:52 -0800)
commit9f31c05ea0f5690d002ae30710fc0fbe0f0c201f
tree717531f694a63137c071b5bde422e1ab1fcd686f
parent96990a4ae979df9e235d01097d6175759331e88c
macintosh: fix fabrication of caplock key events

If the user has turned on the "restore_caplock_events" parameter, the
code mangles the capslock events correctly, then erroneously ignores
those events.  Fix logic to allow correct fallthrough.

Signed-off-by: Andy Wingo <wingo@pobox.com>
Acked-by: Andrew McNabb <amcnabb@mcnabbs.org>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/macintosh/adbhid.c