2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/staging/speakup
Alan Cox 079c9534a9 vt:tackle kbd_table
Keyboard struct lifetime is easy, but the locking is not and is completely
ignored by the existing code. Tackle this one head on

- Make the kbd_table private so we can run down all direct users
- Hoick the relevant ioctl handlers into the keyboard layer
- Lock them with the keyboard lock so they don't change mid keypress
- Add helpers for things like console stop/start so we isolate the poking
  around properly
- Tweak the braille console so it still builds

There are a couple of FIXME locking cases left for ioctls that are so hideous
they should be addressed in a later patch. After this patch the kbd_table is
private and all the keyboard jiggery pokery is in one place.

This update fixes speakup and also a memory leak in the original.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-08 10:50:35 -08:00
..
buffers.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
DefaultKeyAssignments
devsynth.c drivers/staging/speakup/devsynth.c: fix "buffer size is not provably correct" error 2011-08-02 16:09:46 -07:00
fakekey.c fakekey: Simplify speakup_fake_key_pressed through this_cpu_ops 2010-12-17 15:07:19 +01:00
i18n.c staging: speakup: i18n.c fix long lines 2010-10-19 10:06:04 -07:00
i18n.h
Kconfig
keyhelp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
kobjects.c Staging: speakup: Use kmemdup rather than duplicating its implementation 2011-11-26 18:12:56 -08:00
main.c vt:tackle kbd_table 2012-03-08 10:50:35 -08:00
Makefile Staging: speakup: Makefile: Makefile clean up 2010-10-08 07:26:24 -07:00
selection.c staging: speakup: selection.c style fixes 2010-10-19 10:06:05 -07:00
serialio.c staging: speakup: serialio.c style fixes 2010-10-19 10:06:05 -07:00
serialio.h
speakup_acnt.h
speakup_acntpc.c staging: speakup: speakup_acntpc.c: style fixes 2010-10-15 12:22:35 -07:00
speakup_acntsa.c staging: speakup: speakup_acntsa.c: style fixes 2010-10-15 12:22:35 -07:00
speakup_apollo.c staging: speakup: speakup_apollo.c: style fixes 2010-10-15 12:22:35 -07:00
speakup_audptr.c staging: speakup: speakup_audptr.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_bns.c staging: speakup: speakup_bns.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_decext.c staging: speakup: speakup_decext.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_decpc.c staging: speakup: speakup_decpc.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_dectlk.c staging: speakup: speakup_dectlk.c: style fixes 2010-10-15 12:22:38 -07:00
speakup_dtlk.c staging: speakup: speakup_dtlk.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_dtlk.h
speakup_dummy.c staging: speakup: speakup_dummy.c: style fixes 2010-10-15 12:22:37 -07:00
speakup_keypc.c staging: speakup: speakup_keypc.c: style fixes 2010-10-15 12:22:37 -07:00
speakup_ltlk.c staging: speakup: speakup_ltlk.c: style fixes 2010-10-15 12:22:37 -07:00
speakup_soft.c staging: speakup: Use kstrtoul_from_user 2011-06-28 14:35:41 -07:00
speakup_spkout.c staging: speakup: speakup_spkout.c: style fixes 2010-10-15 12:22:38 -07:00
speakup_txprt.c staging: speakup: speakup_txprt.c: style fixes 2010-10-15 12:22:38 -07:00
speakup.h module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
speakupmap.h
speakupmap.map
spk_priv_keyinfo.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spk_priv.h
spk_types.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spkguide.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
synth.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
thread.c staging: speakup: thread.c style fixes 2010-10-19 10:06:05 -07:00
TODO
varhandlers.c staging: speakup: varhandlers.c style fixes 2010-10-19 10:06:05 -07:00