Commit b564dedd authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] zoran: add pci_disable_device() call

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

This patch adds pci_disable_device() to the card release function; we
already used pci_enable_device() in the card detection function.  This was
noticed by Francois Romieu.
parent b8c0b00f
...@@ -1118,6 +1118,7 @@ zoran_release (struct zoran *zr) ...@@ -1118,6 +1118,7 @@ zoran_release (struct zoran *zr)
kfree((void *) zr->stat_com); kfree((void *) zr->stat_com);
zoran_proc_cleanup(zr); zoran_proc_cleanup(zr);
iounmap(zr->zr36057_mem); iounmap(zr->zr36057_mem);
pci_disable_device(zr->pci_dev);
video_unregister_device(zr->video_dev); video_unregister_device(zr->video_dev);
} }
......
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