From dbf8aaf8e27b0d78be8ef71521a6bd0dcae36e55 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Sun, 14 Oct 2012 11:29:06 +0200 Subject: [PATCH] Use D3cold instead of D3hot to reflect real device state --- bbswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbswitch.c b/bbswitch.c index ca79e0d..0d163ce 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -237,7 +237,7 @@ static void bbswitch_off(void) { pci_save_state(dis_dev); pci_clear_master(dis_dev); pci_disable_device(dis_dev); - pci_set_power_state(dis_dev, PCI_D3hot); + pci_set_power_state(dis_dev, PCI_D3cold); if (bbswitch_acpi_off()) printk(KERN_WARNING "bbswitch: The discrete card could not be disabled"