1
0
Fork 0
freescale-linux-fslc/drivers/staging/speakup
Amitoj Kaur Chawla c943e13bd2 staging: speakup: Replace del_timer with del_timer_sync
Use del_timer_sync to ensure timer is stopped on all CPUs before
the driver exists and the timer should not run when the module is
being removed. Since the timer is not called from an interrupt
context, this change is safe and will not cause deadlock.

The Coccinelle semantic patch used to make this change is as
follows:
// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
buffers.c staging: speakup: (coding style) Rewrite comparisons to NULL 2016-01-28 22:40:31 -08:00
DefaultKeyAssignments
devsynth.c
fakekey.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
i18n.c staging: speakup: compress return logic into one line 2016-02-11 20:00:30 -08:00
i18n.h
Kconfig Staging: speakup: Fix allyesconfig build on mn10300 2016-02-01 13:05:44 -08:00
keyhelp.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
kobjects.c Staging: speakup: Add space around '|' 2016-03-05 14:48:04 -08:00
main.c staging: speakup: Replace del_timer with del_timer_sync 2016-03-11 22:09:09 -08:00
Makefile
selection.c
serialio.c staging: speakup: Fix block comment style 2016-02-14 16:49:09 -08:00
serialio.h
speakup.h
speakup_acnt.h
speakup_acntpc.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_acntsa.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_apollo.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_audptr.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_bns.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_decext.c Staging:speakup:add space around '|' 2016-02-07 19:07:38 -08:00
speakup_decpc.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_dectlk.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_dtlk.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_dtlk.h
speakup_dummy.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_keypc.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_ltlk.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_soft.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_spkout.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_txprt.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakupmap.h
speakupmap.map
spk_priv.h Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
spk_priv_keyinfo.h Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
spk_types.h
spkguide.txt Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
synth.c staging: speakup: Remove unnecessary test in if condition 2016-03-05 14:48:04 -08:00
thread.c
TODO
varhandlers.c Staging: speakup: varhandlers: cleanup of function spk_get_punc_var 2016-01-28 22:40:31 -08:00