Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235273
b: refs/heads/master
c: 1e40a97
h: refs/heads/master
i:
  235271: 39de34a
v: v3
  • Loading branch information
Mike Rapoport authored and Colin Cross committed Mar 3, 2011
1 parent 35f685d commit 4ebd7f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ccac05152e7c6a8103b9e7a801bc995180a800fc
refs/heads/master: 1e40a97e6cb69d8b7edba801d75d1024078ce9aa
18 changes: 9 additions & 9 deletions trunk/arch/arm/mach-tegra/pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,15 @@ static void tegra_pcie_xclk_clamp(bool clamp)
pmc_writel(reg, PMC_SCRATCH42);
}

static void tegra_pcie_power_off(void)
{
tegra_periph_reset_assert(tegra_pcie.pcie_xclk);
tegra_periph_reset_assert(tegra_pcie.afi_clk);
tegra_periph_reset_assert(tegra_pcie.pex_clk);

tegra_pcie_xclk_clamp(true);
}

static int tegra_pcie_power_on(void)
{
tegra_pcie_xclk_clamp(true);
Expand All @@ -693,15 +702,6 @@ static int tegra_pcie_power_on(void)
return clk_enable(tegra_pcie.pll_e);
}

static void tegra_pcie_power_off(void)
{
tegra_periph_reset_assert(tegra_pcie.pcie_xclk);
tegra_periph_reset_assert(tegra_pcie.afi_clk);
tegra_periph_reset_assert(tegra_pcie.pex_clk);

tegra_pcie_xclk_clamp(true);
}

static int tegra_pcie_clocks_get(void)
{
int err;
Expand Down

0 comments on commit 4ebd7f4

Please sign in to comment.