bbswitch_dev: remove artificial delays

These delays were added as attempt to rule out the possibility that the
hardware was accessed too fast, but it does not seem to help. Remove it.
acpi-pr3
Peter Wu 9 years ago
parent daa6411911
commit fd774b1f5e

@ -48,7 +48,6 @@ static int bbswitch_runtime_suspend(struct device *dev) {
pci_save_state(pdev); pci_save_state(pdev);
/* TODO if _PR3 is supported, should this be PCI_D3hot? */ /* TODO if _PR3 is supported, should this be PCI_D3hot? */
pci_set_power_state(pdev, PCI_D3cold); pci_set_power_state(pdev, PCI_D3cold);
mdelay(1000);
return 0; return 0;
} }
@ -57,7 +56,6 @@ static int bbswitch_runtime_resume(struct device *dev) {
/* TODO for v1 Optimus, call DSM here. */ /* TODO for v1 Optimus, call DSM here. */
/* Nothing to do for Optimus, the PCI layer already moved into D0 state. */ /* Nothing to do for Optimus, the PCI layer already moved into D0 state. */
mdelay(1000);
return 0; return 0;
} }

Loading…
Cancel
Save