mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
PCI: aspm_ext: Re-enable LRT for L1SS after power loss
Change-Id: Iedb72ee74660a8f11f38895e06766c3b77728ba3 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -322,6 +322,10 @@ void pcie_aspm_ext_l1ss_enable(struct pci_dev *child, struct pci_dev *parent, bo
|
||||
ret = rockchip_pcie_bus_aspm_enable_rc_ep(child, parent, false);
|
||||
|
||||
if (enable) {
|
||||
/* LRT enable bits loss after wifi off, enable it after power on */
|
||||
if (parent->ltr_path)
|
||||
pcie_capability_set_word(parent, PCI_EXP_DEVCTL2, PCI_EXP_DEVCTL2_LTR_EN);
|
||||
|
||||
/* Enable RC then EP */
|
||||
aspm_calc_l1ss_info(child, parent);
|
||||
rockchip_pcie_bus_l1ss_enable_dev("RC", parent, enable);
|
||||
|
||||
Reference in New Issue
Block a user