From fd774b1f5ece04df04c913bda79b7027c55168bb Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 23 May 2016 19:49:21 +0200 Subject: [PATCH] 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. --- bbswitch_dev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bbswitch_dev.c b/bbswitch_dev.c index a00b5b6..f3b96c2 100644 --- a/bbswitch_dev.c +++ b/bbswitch_dev.c @@ -48,7 +48,6 @@ static int bbswitch_runtime_suspend(struct device *dev) { pci_save_state(pdev); /* TODO if _PR3 is supported, should this be PCI_D3hot? */ pci_set_power_state(pdev, PCI_D3cold); - mdelay(1000); return 0; } @@ -57,7 +56,6 @@ static int bbswitch_runtime_resume(struct device *dev) { /* TODO for v1 Optimus, call DSM here. */ /* Nothing to do for Optimus, the PCI layer already moved into D0 state. */ - mdelay(1000); return 0; }