projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf65cd
)
Sonypi: use synchronize_irq instead of sycnronize_sched
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 21 Nov 2007 19:16:38 +0000
(14:16 -0500)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 21 Nov 2007 19:16:38 +0000
(14:16 -0500)
We know exactly what IRQ we are using, so synchronize_irq()
suits much better. Plus synchronize_sched() will not work
for us in -rt kernels.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Mattia Dongili <malattia@linux.it>
drivers/char/sonypi.c
patch
|
blob
|
history
diff --git
a/drivers/char/sonypi.c
b/drivers/char/sonypi.c
index 172d3e47070f21b80e15a2bb365a1a92ce5b603f..921c6d2bc8fc6b1959aa932a623469d59112b719 100644
(file)
--- a/
drivers/char/sonypi.c
+++ b/
drivers/char/sonypi.c
@@
-1434,7
+1434,7
@@
static int __devexit sonypi_remove(struct platform_device *dev)
{
sonypi_disable();
- synchronize_
sched(); /* Allow sonypi interrupt to complete. */
+ synchronize_
irq(sonypi_device.irq);
flush_scheduled_work();
if (useinput) {