diff options
author | Krzysztof Wilczyński <kw@linux.com> | 2020-07-30 23:08:48 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-09-29 21:21:50 +0200 |
commit | 3789af9a13e5561738c0f2114e3a5e22c843ca3e (patch) | |
tree | 98bccb80f127447c64da4a69e0ce410c26d4d26e /arch/x86/pci/intel_mid_pci.c | |
parent | PCI/PM: Remove unused pcibios_pm_ops (diff) | |
download | linux-3789af9a13e5561738c0f2114e3a5e22c843ca3e.tar.xz linux-3789af9a13e5561738c0f2114e3a5e22c843ca3e.zip |
PCI/PM: Rename pci_dev.d3_delay to d3hot_delay
PCI devices support two variants of the D3 power state: D3hot (main power
present) D3cold (main power removed). Previously struct pci_dev contained:
unsigned int d3_delay; /* D3->D0 transition time in ms */
unsigned int d3cold_delay; /* D3cold->D0 transition time in ms */
"d3_delay" refers specifically to the D3hot state. Rename it to
"d3hot_delay" to avoid ambiguity and align with the ACPI "_DSM for
Specifying Device Readiness Durations" in the PCI Firmware spec r3.2,
sec 4.6.9.
There is no change to the functionality.
Link: https://lore.kernel.org/r/20200730210848.1578826-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/pci/intel_mid_pci.c')
-rw-r--r-- | arch/x86/pci/intel_mid_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/intel_mid_pci.c b/arch/x86/pci/intel_mid_pci.c index 00c62115f39c..979f310b67d4 100644 --- a/arch/x86/pci/intel_mid_pci.c +++ b/arch/x86/pci/intel_mid_pci.c @@ -322,7 +322,7 @@ static void pci_d3delay_fixup(struct pci_dev *dev) */ if (type1_access_ok(dev->bus->number, dev->devfn, PCI_DEVICE_ID)) return; - dev->d3_delay = 0; + dev->d3hot_delay = 0; } DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_ANY_ID, pci_d3delay_fixup); |