diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2010-08-25 15:37:38 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2010-09-03 01:47:23 -0700 |
commit | 2349860b3df60934e6c04a8684cb51e6e1d39549 (patch) | |
tree | 2cd5ba50fccf5d36dd530b5f97f972b38bc1e84a /arch/arm/mach-tegra/clock_nvrm.c | |
parent | f08615eab12cdfbdf5f30689677ee3b53902a31a (diff) |
[arm/tegra] rm dma: Fixing resource leak issue.
When dma is aborted, all request should be dequeued from
the dma and the allocated memory should be freed.
The allocated resource was not getting freed, fixing this
issue.
Properly checking the return pointer from the allocate_dma.
(cherry picked from commit 02f0e4da9c66fee14f4492fa5b4ec41fd028a56e)
Change-Id: I0dbaeca9b19331458b9aaf91556b7dad1e9b67ee
Reviewed-on: http://git-master/r/5768
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/clock_nvrm.c')
0 files changed, 0 insertions, 0 deletions