mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "msm: ep-pcie: Fix icc bus vote and add icc bus unvote"
This commit is contained in:
commit
d6cc60163d
1 changed files with 5 additions and 6 deletions
|
|
@ -437,7 +437,7 @@ static int ep_pcie_clk_init(struct ep_pcie_dev_t *dev)
|
|||
|
||||
static void ep_pcie_clk_deinit(struct ep_pcie_dev_t *dev)
|
||||
{
|
||||
int i;
|
||||
int i, rc;
|
||||
|
||||
EP_PCIE_DBG(dev, "PCIe V%d\n", dev->rev);
|
||||
|
||||
|
|
@ -446,11 +446,10 @@ static void ep_pcie_clk_deinit(struct ep_pcie_dev_t *dev)
|
|||
clk_disable_unprepare(dev->clk[i].hdl);
|
||||
|
||||
if (dev->icc_path) {
|
||||
icc_put(dev->icc_path);
|
||||
dev->icc_path = 0;
|
||||
EP_PCIE_DBG(dev,
|
||||
"PCIe V%d: relinquish bus bandwidth\n",
|
||||
dev->rev);
|
||||
rc = icc_set_bw(dev->icc_path, 0, 0);
|
||||
EP_PCIE_DBG(dev,
|
||||
"PCIe V%d: relinquish bus bandwidth returns %d\n",
|
||||
dev->rev, rc);
|
||||
}
|
||||
|
||||
if (!m2_enabled) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue