PCIe: ASPM: Save/restore ASPM-L1SS controls in reverse order
Commit 54fdb1e4 ("PCIe: ASPM: Save/restore ASPM-L1SS controls for suspend/resume") restores PCI_L1SS_CTL1, then PCI_L1SS_CTL2. It should do those in the reverse order, since the Enable bits are in PCI_L1SS_CTL1. It also restores L1SS state before we restore the PCIe Capability potentially enabling ASPM as a whole. Fix the issue by changing order for both save and restore. Change-Id: I84e3db25b651b93dd4c037fa287f58edde90407a Signed-off-by:Hemant Kumar <hemantk@codeaurora.org>
Loading
Please register or sign in to comment