Commit 98822de9 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] cx88: pci_disable_device comes after free_irq

Move pci_disable_device() down otherwise it will complain about an
unfreed irq.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent c39ba330
...@@ -1571,12 +1571,12 @@ static void cx8800_finidev(struct pci_dev *pci_dev) ...@@ -1571,12 +1571,12 @@ static void cx8800_finidev(struct pci_dev *pci_dev)
cx88_ir_stop(core); cx88_ir_stop(core);
cx88_shutdown(core); /* FIXME */ cx88_shutdown(core); /* FIXME */
pci_disable_device(pci_dev);
/* unregister stuff */ /* unregister stuff */
free_irq(pci_dev->irq, dev); free_irq(pci_dev->irq, dev);
cx8800_unregister_video(dev); cx8800_unregister_video(dev);
pci_disable_device(pci_dev);
core->v4ldev = NULL; core->v4ldev = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment