summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/apbio.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-04-18 16:35:41 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:42:33 -0800
commit9f636db19d3c2394f384bfe9faf12ae03a42e6f9 (patch)
tree389b618d5a254e9c59e7b9ff697bda46ce05886f /arch/arm/mach-tegra/apbio.c
parent89ce411ac67bc0d4751000148a89d02d73a6f0c9 (diff)
arm: tegra: dma: Adding client name with dma allocation.
By changing the dma allocation API to take the client name, it is easy to track who is allocated the DMA channels when we run out of the DMA channels. Original-Change-Id: I016011cfd74089fed0da1bc0f121800017ce124a Reviewed-on: http://git-master/r/28031 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Original-Change-Id: I048bcb87f95ee6d8ad2fdce993a1758dc5071666 Rebase-Id: R08ce682381dad3170a335f47333f0a6afb8d4579
Diffstat (limited to 'arch/arm/mach-tegra/apbio.c')
-rw-r--r--arch/arm/mach-tegra/apbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/apbio.c b/arch/arm/mach-tegra/apbio.c
index 967c0fe1e74a..41eb0aa3c738 100644
--- a/arch/arm/mach-tegra/apbio.c
+++ b/arch/arm/mach-tegra/apbio.c
@@ -138,7 +138,7 @@ static int tegra_init_apb_dma(void)
{
#ifdef CONFIG_TEGRA_SYSTEM_DMA
tegra_apb_dma = tegra_dma_allocate_channel(TEGRA_DMA_MODE_ONESHOT |
- TEGRA_DMA_SHARED);
+ TEGRA_DMA_SHARED, "apbio");
if (!tegra_apb_dma) {
pr_err("%s: can not allocate dma channel\n", __func__);
return -ENODEV;