projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8707d8b
)
Misc: phantom, synchronize_irq() on suspend
author
Jiri Slaby
<jirislaby@gmail.com>
Fri, 19 Oct 2007 06:40:23 +0000
(23:40 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:41 +0000
(11:53 -0700)
Wait after disabling device's interrupt until the handler finishes its work if
still in progress.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/phantom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/phantom.c
b/drivers/misc/phantom.c
index 5108b7c576dfba8fab2e5794188a04a0fdf7044e..6e61a79de24c3b4e2801a958e8fb3c0ac2c6110c 100644
(file)
--- a/
drivers/misc/phantom.c
+++ b/
drivers/misc/phantom.c
@@
-378,6
+378,8
@@
static int phantom_suspend(struct pci_dev *pdev, pm_message_t state)
iowrite32(0, dev->caddr + PHN_IRQCTL);
ioread32(dev->caddr + PHN_IRQCTL); /* PCI posting */
+ synchronize_irq(pdev->irq);
+
return 0;
}