Commit ad39af83 authored by Russell King's avatar Russell King

[PCMCIA] Don't place Cardbus bridges into D3 state on suspend.

Some laptops, notably IBM T22, refuse to suspend when the Cardbus
bridge is placed into D3.  Therefore, comment out the call for the
time being.
parent 84ac4d4a
...@@ -1026,7 +1026,13 @@ static int yenta_dev_suspend (struct pci_dev *dev, u32 state) ...@@ -1026,7 +1026,13 @@ static int yenta_dev_suspend (struct pci_dev *dev, u32 state)
pci_save_state(dev); pci_save_state(dev);
pci_read_config_dword(dev, 16*4, &socket->saved_state[0]); pci_read_config_dword(dev, 16*4, &socket->saved_state[0]);
pci_read_config_dword(dev, 17*4, &socket->saved_state[1]); pci_read_config_dword(dev, 17*4, &socket->saved_state[1]);
pci_set_power_state(dev, 3);
/*
* Some laptops (IBM T22) do not like us putting the Cardbus
* bridge into D3. At a guess, some other laptop will
* probably require this, so leave it commented out for now.
*/
/* pci_set_power_state(dev, 3); */
} }
return ret; return ret;
......
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