• Lukas Wunner's avatar
    PCI: Unfold conditions to block runtime PM on PCIe ports · 718a0609
    Lukas Wunner authored
    The conditions to block D3 on parent ports are currently condensed into a
    single expression in pci_dev_check_d3cold().  Upcoming commits will add
    further conditions for hotplug ports, making this expression fairly large
    and impenetrable.  Unfold the conditions to maintain readability when they
    are amended.
    
    No functional change intended.
    Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    CC: Mika Westerberg <mika.westerberg@linux.intel.com>
    CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    718a0609
pci.c 138 KB