summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/msm/ep_pcie/ep_pcie_com.h2
-rw-r--r--drivers/platform/msm/ep_pcie/ep_pcie_core.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/platform/msm/ep_pcie/ep_pcie_com.h b/drivers/platform/msm/ep_pcie/ep_pcie_com.h
index f1350e7ca8d2..df9a3cd8acb1 100644
--- a/drivers/platform/msm/ep_pcie/ep_pcie_com.h
+++ b/drivers/platform/msm/ep_pcie/ep_pcie_com.h
@@ -109,7 +109,7 @@
#define EP_PCIE_LOG_PAGES 50
#define EP_PCIE_MAX_VREG 2
-#define EP_PCIE_MAX_CLK 5
+#define EP_PCIE_MAX_CLK 6
#define EP_PCIE_MAX_PIPE_CLK 1
#define EP_PCIE_ERROR -30655
diff --git a/drivers/platform/msm/ep_pcie/ep_pcie_core.c b/drivers/platform/msm/ep_pcie/ep_pcie_core.c
index 54997b46dbca..9be5b7d7b634 100644
--- a/drivers/platform/msm/ep_pcie/ep_pcie_core.c
+++ b/drivers/platform/msm/ep_pcie/ep_pcie_core.c
@@ -66,7 +66,8 @@ static struct ep_pcie_clk_info_t
{NULL, "pcie_0_mstr_axi_clk", 0, true},
{NULL, "pcie_0_slv_axi_clk", 0, true},
{NULL, "pcie_0_aux_clk", 1000000, true},
- {NULL, "pcie_0_ldo", 0, true}
+ {NULL, "pcie_0_ldo", 0, true},
+ {NULL, "pcie_0_phy_reset", 0, false}
};
static struct ep_pcie_clk_info_t
@@ -286,11 +287,10 @@ static int ep_pcie_clk_init(struct ep_pcie_dev_t *dev)
info = &dev->clk[i];
if (!info->hdl) {
- EP_PCIE_ERR(dev,
+ EP_PCIE_DBG(dev,
"PCIe V%d: handle of Clock %s is NULL\n",
dev->rev, info->name);
- rc = -EINVAL;
- break;
+ continue;
}
if (info->freq) {