mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "msm: pcie: Allow NULL as a valid return value for icc_get"
This commit is contained in:
commit
969fd9d8b5
1 changed files with 1 additions and 1 deletions
|
|
@ -3805,7 +3805,7 @@ static int msm_pcie_get_resources(struct msm_pcie_dev_t *dev,
|
|||
PCIE_DBG(dev, "PCIe: RC%d: entry\n", dev->rc_idx);
|
||||
|
||||
dev->icc_path = of_icc_get(&pdev->dev, "icc_path");
|
||||
if (IS_ERR_OR_NULL(dev->icc_path)) {
|
||||
if (IS_ERR(dev->icc_path)) {
|
||||
ret = dev->icc_path ? PTR_ERR(dev->icc_path) : -EINVAL;
|
||||
|
||||
PCIE_ERR(dev, "PCIe: RC%d: failed to get ICC path: %d\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue