diff options
author | Allen Xu <allen.xu@freescale.com> | 2012-04-10 11:38:24 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:36:00 +0800 |
commit | 8817bbd14c471c0784121047e5e885894e0ed33b (patch) | |
tree | 1480bfdda97c37fdd06e3e50a45395fda1caacaa /drivers | |
parent | e2e07019caf9575b228e9216ad0f9f1a71a2cecd (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')
-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; |