mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xend: pci: fix a typo in do_Dstate_transition
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
This commit is contained in:
1 parent
d1c98f05a1
commit
d0c233bbf8
1 file changed
+1
-1
@@ -730,7 +730,7 @@ class PciDevice:
|
||||
# devices transitioning from D3hot to D0 because of
|
||||
# PowerState commands do not perform an internal reset.
|
||||
pm_ctl = self.pci_conf_read32(pos + PCI_PM_CTRL)
|
||||
if (pm_ctl & PCI_PM_CTRL_NO_SOFT_RESET) == 1:
|
||||
if (pm_ctl & PCI_PM_CTRL_NO_SOFT_RESET) == PCI_PM_CTRL_NO_SOFT_RESET:
|
||||
return False
|
||||
|
||||
(pci_list, cfg_list) = save_pci_conf_space([self.name])
|
||||
|
||||