Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316647
b: refs/heads/master
c: 56482ec
h: refs/heads/master
i:
  316645: 7e17f36
  316643: aa6037f
  316639: ec47fe3
v: v3
  • Loading branch information
Prashant Gaikwad authored and Vinod Koul committed Jun 27, 2012
1 parent 4eba25f commit 9f5b38b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 597c854974db20eebe87e91df0d12daaefabf525
refs/heads/master: 56482ec0b156811eb463576a89a47f89e21f3587
4 changes: 2 additions & 2 deletions trunk/drivers/dma/tegra20-apb-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ static int tegra_dma_runtime_suspend(struct device *dev)
struct platform_device *pdev = to_platform_device(dev);
struct tegra_dma *tdma = platform_get_drvdata(pdev);

clk_disable(tdma->dma_clk);
clk_disable_unprepare(tdma->dma_clk);
return 0;
}

Expand All @@ -1376,7 +1376,7 @@ static int tegra_dma_runtime_resume(struct device *dev)
struct tegra_dma *tdma = platform_get_drvdata(pdev);
int ret;

ret = clk_enable(tdma->dma_clk);
ret = clk_prepare_enable(tdma->dma_clk);
if (ret < 0) {
dev_err(dev, "clk_enable failed: %d\n", ret);
return ret;
Expand Down

0 comments on commit 9f5b38b

Please sign in to comment.