summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/iovmm-gart.c
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2011-11-21 15:16:54 +0200
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-15 12:09:11 +0530
commitb6511ce56b83102c46f0dd05234e4cfb768fede9 (patch)
tree4d729423bb8721f4b052ab3ea611b5e24e8c4430 /arch/arm/mach-tegra/iovmm-gart.c
parentae4284831e1535446766970dd0fc5a6ae02a3b16 (diff)
ARM: tegra: gart: Remove unnecessary spin_lock
Nothing else should be using the device until after the probe function returns 0. Change-Id: If676ca004ec8fd87a4fe9472d792a676b83de7cc Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/66363 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/iovmm-gart.c')
-rw-r--r--arch/arm/mach-tegra/iovmm-gart.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/iovmm-gart.c b/arch/arm/mach-tegra/iovmm-gart.c
index 954b49552634..290fd484ee85 100644
--- a/arch/arm/mach-tegra/iovmm-gart.c
+++ b/arch/arm/mach-tegra/iovmm-gart.c
@@ -226,12 +226,9 @@ static int gart_probe(struct platform_device *pdev)
goto fail;
}
- spin_lock(&gart->pte_lock);
-
do_gart_setup(gart, NULL);
gart->enable = 1;
- spin_unlock(&gart->pte_lock);
return 0;
fail: