mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
Attach fthd_pci_remove() to pci driver shutdown hook
When running Linux in a VM with the facetimehd module, the device must explicitly be removed. If the device is not removed upon a shutdown of the VM, the device becomes inoperable until a full reboot of the host. Inoperable here means that the error message "Init failed! No wake signal" occurs.
This commit is contained in:
committed by
Patrik Jakobsson
parent
d47bb259d9
commit
20055fa2e9
@@ -542,6 +542,7 @@ static struct pci_driver fthd_pci_driver = {
|
|||||||
.name = KBUILD_MODNAME,
|
.name = KBUILD_MODNAME,
|
||||||
.probe = fthd_pci_probe,
|
.probe = fthd_pci_probe,
|
||||||
.remove = fthd_pci_remove,
|
.remove = fthd_pci_remove,
|
||||||
|
.shutdown = fthd_pci_remove,
|
||||||
.id_table = fthd_pci_id_table,
|
.id_table = fthd_pci_id_table,
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
.suspend = fthd_pci_suspend,
|
.suspend = fthd_pci_suspend,
|
||||||
|
|||||||
Reference in New Issue
Block a user