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:
c39ba33
)
[media] cx88: pci_disable_device comes after free_irq
author
Hans Verkuil
<
[email protected]
>
Fri, 5 Sep 2014 12:37:09 +0000
(09:37 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Mon, 3 Nov 2014 10:35:56 +0000
(08:35 -0200)
Move pci_disable_device() down otherwise it will complain about an
unfreed irq.
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/pci/cx88/cx88-video.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/cx88/cx88-video.c
b/drivers/media/pci/cx88/cx88-video.c
index d8a86cd4e45599f9da9c36b4bb9d4d17b3066731..a64ae31ae142b2a3e9542b65a45f393c29d77b82 100644
(file)
--- a/
drivers/media/pci/cx88/cx88-video.c
+++ b/
drivers/media/pci/cx88/cx88-video.c
@@
-1571,12
+1571,12
@@
static void cx8800_finidev(struct pci_dev *pci_dev)
cx88_ir_stop(core);
cx88_shutdown(core); /* FIXME */
- pci_disable_device(pci_dev);
/* unregister stuff */
free_irq(pci_dev->irq, dev);
cx8800_unregister_video(dev);
+ pci_disable_device(pci_dev);
core->v4ldev = NULL;