Merge "msm: pcie: Return EACCESS when link access is not allowed"
This commit is contained in:
commit
c8a24a5ba5
@ -6072,7 +6072,7 @@ int msm_pcie_prevent_l1(struct pci_dev *pci_dev)
|
||||
"RC%d: PCIE Link is already disabled\n",
|
||||
pcie_dev->rc_idx);
|
||||
mutex_unlock(&pcie_dev->setup_lock);
|
||||
return -EIO;
|
||||
return -EACCES;
|
||||
}
|
||||
|
||||
if (pcie_dev->prevent_l1++) {
|
||||
|
Loading…
Reference in New Issue
Block a user