diff options
author | Allen Xu <allen.xu@freescale.com> | 2012-04-10 11:38:24 +0800 |
---|---|---|
committer | Allen Xu <allen.xu@freescale.com> | 2012-04-11 10:13:00 +0800 |
commit | 462fe8f9b123c483f5e83ab337c302ceffab6d43 (patch) | |
tree | 1c94a317bf29ec26a5e6c780312144484f8dafce /drivers/dma | |
parent | 38eaf3e609c028b40c2e364703f6e98e656912c8 (diff) |
ENGR00177241-3 mx6 close APBH DMA clock when no I/O operation
When there is no NAND I/O operation, close all the reference
clock, include GPMI,BCH and APBH clock.
Signed-off-by: Allen Xu <allen.xu@freescale.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/mxs-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index 4456b331e1d5..162e6c3eb64d 100644 --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c @@ -637,7 +637,7 @@ static int __init mxs_dma_probe(struct platform_device *pdev) goto err_ioremap; } - mxs_dma->clk = clk_get(&pdev->dev, NULL); + mxs_dma->clk = clk_get(NULL, "mxs-dma-apbh"); if (IS_ERR(mxs_dma->clk)) { ret = PTR_ERR(mxs_dma->clk); goto err_clk; |