• Rafael J. Wysocki's avatar
    PCI PM: Do not wait for buses in B2 or B3 during resume · 476e7fae
    Rafael J. Wysocki authored
    pci_restore_standard_config() adds extra delay for PCI buses in
    low power states (B2 or B3), but this is only correct for buses in
    B2, because the buses in B3 are reset when they are put back into
    B0.  Thus we should wait for such buses to settle after the reset,
    but it's not a good idea to wait that long (1.1 s) with interrupts
    off.
    
    On the other hand, we have never waited for buses in B2 and B3
    during resume and it seems reasonable to go back to this well
    tested behaviour.
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    476e7fae
pci.c 63.4 KB