diff options
author | Gary King <gking@nvidia.com> | 2010-03-02 19:28:24 -0800 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-03-02 19:34:10 -0800 |
commit | 3c03d1558259888d380fcd0bb98944189a5cce0d (patch) | |
tree | b8e4f1a681f3685c54c84a98292c1f766c798fb4 | |
parent | 9e6f4b60adfec9c1d627aed742c31b46615dec92 (diff) |
tegra gart: do not free savedata in suspend
the GART context save region is only allocated once at probe time,
so it should not be freed in the resume path.
Change-Id: I79dbf03b84b5d23d6aa3fbd0a6b1ca45568c30d0
Reviewed-on: http://git-master/r/740
Reviewed-by: Gary King <gking@nvidia.com>
Tested-by: Gary King <gking@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/iovmm-gart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/iovmm-gart.c b/arch/arm/mach-tegra/iovmm-gart.c index d95eed9d9c61..a5630f598840 100644 --- a/arch/arm/mach-tegra/iovmm-gart.c +++ b/arch/arm/mach-tegra/iovmm-gart.c @@ -135,8 +135,6 @@ static int gart_resume(struct platform_device *pdev) reg = NV_DRF_DEF(MC, GART_CONFIG, GART_ENABLE, ENABLE); writel(reg, gart->regs + MC_GART_CONFIG_0); spin_unlock(&gart->pte_lock); - vfree(gart->savedata); - gart->savedata = NULL; return 0; } |