mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
Merge "cnss2: skip pci link recovery for EACCES error"
This commit is contained in:
commit
1975f8264d
1 changed files with 1 additions and 1 deletions
|
|
@ -932,7 +932,7 @@ int cnss_pci_prevent_l1(struct device *dev)
|
|||
}
|
||||
|
||||
ret = msm_pcie_prevent_l1(pci_dev);
|
||||
if (ret) {
|
||||
if (ret == -EIO) {
|
||||
cnss_pr_err("Failed to prevent PCIe L1, considered as link down\n");
|
||||
cnss_pci_link_down(dev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue