PCI: do not call pci_set_power_state with PCI_D3cold
authorHuang Ying <ying.huang@intel.com>
Sat, 23 Jun 2012 02:23:50 +0000 (10:23 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 23 Jun 2012 16:50:44 +0000 (10:50 -0600)
commit8497f696686ae1ab3f01e5956046d59844b9f500
tree6884fb2d6a6784f15b14e9775f44f011ed6409c9
parent71a83bd727cc31c5fe960c3758cb396267ff710e
PCI: do not call pci_set_power_state with PCI_D3cold

PCI subsystem has not been ready for D3cold support yet.  So
PCI_D3cold should not be used as parameter for pci_set_power_state.
This patch is needed for upcoming PCI_D3cold support.

This patch has no functionality change, because pci_set_power_state
will bound the parameter to PCI_D3hot too.

CC: Michal Miroslaw <mirq-linux@rere.qmqm.pl>
CC: Jesse Barnes <jesse.barnes@intel.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/mrst.c
drivers/misc/cb710/core.c