projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533553f
)
Bluetooth: bluecard: Use del_timer_sync() in teardown path
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 23 Mar 2014 15:09:31 +0000
(15:09 +0000)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 23 Mar 2014 17:30:22 +0000
(10:30 -0700)
Make sure no timer callback is running before releasing the
datastructure which contains it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/bluecard_cs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bluetooth/bluecard_cs.c
b/drivers/bluetooth/bluecard_cs.c
index a9a989e5ee88036a186cb7b4d88d73a7aafb563d..dfa5043e68bacc9de66f6ce12c565fb8f410f4b1 100644
(file)
--- a/
drivers/bluetooth/bluecard_cs.c
+++ b/
drivers/bluetooth/bluecard_cs.c
@@
-901,7
+901,7
@@
static void bluecard_release(struct pcmcia_device *link)
bluecard_close(info);
- del_timer(&(info->timer));
+ del_timer
_sync
(&(info->timer));
pcmcia_disable_device(link);
}