diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-04-18 16:35:41 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-04-26 15:56:18 -0700 |
commit | 89aa98edfb250b54549580a6b0261a23af3d7c0c (patch) | |
tree | 697162362c6f98a278de324f86397e778a1fb314 /arch/arm/mach-tegra/include | |
parent | 5047a0f6d0b6c1c44d0f692531396f1c5b541c74 (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>
Change-Id: I048bcb87f95ee6d8ad2fdce993a1758dc5071666
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dma.h b/arch/arm/mach-tegra/include/mach/dma.h index a1a73d96f1e4..42084b697b7f 100644 --- a/arch/arm/mach-tegra/include/mach/dma.h +++ b/arch/arm/mach-tegra/include/mach/dma.h @@ -161,7 +161,7 @@ int tegra_dma_get_transfer_count(struct tegra_dma_channel *ch, bool tegra_dma_is_empty(struct tegra_dma_channel *ch); bool tegra_dma_is_stopped(struct tegra_dma_channel *ch); -struct tegra_dma_channel *tegra_dma_allocate_channel(int mode); +struct tegra_dma_channel *tegra_dma_allocate_channel(int mode, const char namefmt [ ],...); void tegra_dma_free_channel(struct tegra_dma_channel *ch); int tegra_dma_cancel(struct tegra_dma_channel *ch); |