Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8a24a5b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pcie: Return EACCESS when link access is not allowed"

parents d703eb2b a8cbb6a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++) {