diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2010-08-26 10:18:40 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2010-09-03 02:38:07 -0700 |
commit | a537fc2dce58424510fc514eb499c544ae1ac96e (patch) | |
tree | 10ad8fa3c1d05891940cfde93849c14134a33d4f /arch/arm/mach-tegra/platsmp.c | |
parent | 2349860b3df60934e6c04a8684cb51e6e1d39549 (diff) |
[arm/tegra] dma: Dma allocation should be thread safe
The dma can be allocated from multiple client in run time
and so it should be thread/smp safe.
Returning proper error pointer in case of there is no dma to
allocate.
bug 723220
Change-Id: Ifb333d4b14e32be561e34a0d7668a2d631ac80c6
(cherry picked from commit db2d10f715fcdd6fdaf5fc7ea8e27a505f8332da)
Reviewed-on: http://git-master/r/5769
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/platsmp.c')
0 files changed, 0 insertions, 0 deletions